about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-08-26 17:03:43 +0200
committerJuan RP <xtraeme@gmail.com>2013-08-26 17:03:43 +0200
commit670f476709d9f9d88024b951eea100ffb5eb2406 (patch)
treef356c595fa0da2b02d2d571ec0af257d4015f3d1 /installer.sh.in
parent3061aa72cd98c81dc800de76bccbc6ac7e9da5de (diff)
downloadhrmpf-670f476709d9f9d88024b951eea100ffb5eb2406.tar.gz
hrmpf-670f476709d9f9d88024b951eea100ffb5eb2406.tar.xz
hrmpf-670f476709d9f9d88024b951eea100ffb5eb2406.zip
installer: remove temporary pkgs from target after copying live image.
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 0836769..72f7b42 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -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