diff --git a/src/lib/installation/clients/umount_finish.rb b/src/lib/installation/clients/umount_finish.rb index dc59870ca..1f4766efc 100644 --- a/src/lib/installation/clients/umount_finish.rb +++ b/src/lib/installation/clients/umount_finish.rb @@ -45,6 +45,7 @@ def main Yast.import "Internet" Yast.import "FileUtils" Yast.import "Mode" + Yast.import "ProductFeatures" @ret = nil @func = "" @@ -390,7 +391,7 @@ def preserve_randomness_state # def set_root_subvol_read_only return unless root_subvol_read_only_configured? - log.info("Setting root subvolume to read-only"); + log.info("Setting root subvolume to read-only") set_fstab_root_subvol_read_only set_root_subvol_property_read_only end @@ -399,7 +400,7 @@ def set_root_subvol_read_only # should be set to read-only. # def root_subvol_read_only_configured? - true + ProductFeatures.GetBooleanFeature("partitioning", "root_subvolume_read_only") end # Change /etc/fstab on the target to mount the root subvolume read-only.