summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-05-20 09:23:10 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-05-20 09:23:10 +0000
commitae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc (patch)
treed3c0cf4054541e220fd1e9f93e7f27f35ac01e20
parent4b1c25b6f4a316cb3b5f6509f0aa1a919bc6f802 (diff)
downloaddraklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar
draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar.gz
draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar.bz2
draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar.xz
draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.zip
run scripts from /etc/draklive-install.d/run.d after install
-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');