소스 검색

installer: after copying live image also generate a new initramfs.

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

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