summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraklive-install4
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1e6463a..ee59801 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- run scripts from /etc/draklive-install.d/run.d after install if cleanups
+ are needed in the chrooted tree
+
1.25
- really fix installation from a dir which is not /
diff --git a/draklive-install b/draklive-install
index c6870a1..ab4cfca 100755
--- a/draklive-install
+++ b/draklive-install
@@ -287,6 +287,10 @@ sub complete_install {
system('chroot', $::prefix, 'rpm', '-e', 'draklive-install');
}
+ foreach (glob('/etc/draklive-install.d/run.d/*')) {
+ run_program::rooted($::prefix, $_);
+ }
+
#- copy sysconfig files for first boot
cp_f(glob('/etc/draklive-install.d/sysconfig/*'), $::prefix . '/etc/sysconfig');