installer: after copying live image also generate a new initramfs.
This commit is contained in:
parent
c193f1ce75
commit
dc08114bec
|
@ -762,6 +762,8 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
|
||||||
. /etc/default/live.conf
|
. /etc/default/live.conf
|
||||||
echo "Removing $USERNAME live user from targetdir ..." >$LOG
|
echo "Removing $USERNAME live user from targetdir ..." >$LOG
|
||||||
chroot $TARGETDIR userdel -r $USERNAME >>$LOG 2>&1
|
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
|
DIALOG --infobox "Applying installer settings..." 4 60
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue