소스 검색

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

Juan RP 11 년 전
부모
커밋
670f476709
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      installer.sh.in

+ 2 - 0
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