summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xdraklive-install3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 967f17c..1aa7e8b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- force regeneration of initrd in installed system
+
2.16
- avoid creating unwanted mount points in live system
- avoid copying inactive mount points
diff --git a/draklive-install b/draklive-install
index 69d1b7b..bba808e 100755
--- a/draklive-install
+++ b/draklive-install
@@ -331,6 +331,9 @@ sub complete_install {
delete $autologin->{user};
any::set_autologin($in->do_pkgs, $autologin);
+ #- force regeneration of initrd
+ unlink($_) foreach glob("$::prefix/boot/initrd*.img");
+
#- allow to install doc in disk install
substInFile { undef $_ if /^\%_excludedocs/ } $::prefix . '/etc/rpm/macros';