about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-08-22 16:14:57 +0200
committerJuan RP <xtraeme@gmail.com>2013-08-22 16:14:57 +0200
commitdc08114becd5e68848959f64409912ecb21a691d (patch)
tree936185ff55a5c36e87b26097bb7f04c3b875f3cf /installer.sh.in
parentc193f1ce7530e05d95fdbbe13c531f31cabd2e23 (diff)
downloadhrmpf-dc08114becd5e68848959f64409912ecb21a691d.tar.gz
hrmpf-dc08114becd5e68848959f64409912ecb21a691d.tar.xz
hrmpf-dc08114becd5e68848959f64409912ecb21a691d.zip
installer: after copying live image also generate a new initramfs.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/installer.sh.in b/installer.sh.in
index b628849..5480387 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -762,6 +762,8 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
     . /etc/default/live.conf
     echo "Removing $USERNAME live user from targetdir ..." >$LOG
     chroot $TARGETDIR userdel -r $USERNAME >>$LOG 2>&1
+    echo "Rebuilding initramfs for target ..." >$LOG
+    chroot $TARGETDIR dracut --force >>$LOG 2>&1
 
     DIALOG --infobox "Applying installer settings..." 4 60