Commit 94ffe91c authored by Matthias Klumpp's avatar Matthias Klumpp

pureos oem: Check for encrypted_partitions.json in the right location

parent 4e1650b4
......@@ -370,7 +370,7 @@ Subject: [PATCH] LUKS Page test
+gis_prepare_luks_page (GisDriver *driver)
+ gboolean pureos_disk_encryption_prepared = g_file_test ("/usr/share/initramfs-tools/hooks/bypass_encrypt_hook", G_FILE_TEST_EXISTS) &&
+ g_file_test ("/var/lib/encrypted_partitions", G_FILE_TEST_EXISTS);
+ g_file_test ("/encrypted_partitions.json", G_FILE_TEST_EXISTS);
+ if (pureos_disk_encryption_prepared)
+ gis_driver_add_page (driver,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment