From ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 20 May 2010 09:23:10 +0000 Subject: run scripts from /etc/draklive-install.d/run.d after install --- NEWS | 3 +++ draklive-install | 4 ++++ 2 files changed, 7 insertions(+) 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'); -- cgit v1.2.1