From 9ca487f87a2af63f06fb9e50fe771650c6328eb9 Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Fri, 19 Sep 2014 13:28:40 +0200 Subject: [PATCH] Keep the /etc/lvm/profiles directory in the image Profile definitions are needed e.g. for creation of thin pools with specific profile. Related: rhbz#869456 --- share/runtime-postinstall.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 45e55bfa..bf4f892f 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -103,7 +103,12 @@ append etc/depmod.d/dd.conf "search updates built-in" append etc/multipath.conf "defaults {\n\tfind_multipaths yes\n\tuser_friendly_names yes\n}\n" ## make lvm auto-activate -remove etc/lvm/* +remove etc/lvm/archive/* +remove etc/lvm/archive +remove etc/lvm/backup/* +remove etc/lvm/backup +remove etc/lvm/cache/* +remove etc/lvm/cache append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n" ## TODO: we could run prelink here if we wanted?