installer: remove temporary pkgs from target after copying live image.

This commit is contained in:
Juan RP 2013-08-26 17:03:43 +02:00
parent 3061aa72cd
commit 670f476709
1 changed files with 2 additions and 0 deletions

View File

@ -779,6 +779,8 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
chroot $TARGETDIR userdel -r $USERNAME >>$LOG 2>&1
echo "Rebuilding initramfs for target ..." >$LOG
chroot $TARGETDIR dracut --force >>$LOG 2>&1
echo "Removing unused packages from target ..." >$LOG
xbps-remove -r $TARGETDIR -Ry dialog f2fs-tools >>$LOG 2>&1
else
# network install, use packages.
install_packages