浏览代码

installer: generate a non hostonly initramfs; force-add ahci just in case.

Juan RP 10 年之前
父节点
当前提交
ce35908f35
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      installer.sh.in

+ 1 - 1
installer.sh.in

@@ -849,7 +849,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
         DIALOG --title "Check $LOG for details" \
             --infobox "Rebuilding initramfs for target ..." 4 60
         echo "Rebuilding initramfs for target ..." >$LOG
-        chroot $TARGETDIR dracut --force >>$LOG 2>&1
+        chroot $TARGETDIR dracut --no-hostonly --add-drivers "ahci" --force >>$LOG 2>&1
         DIALOG --title "Check $LOG for details" \
             --infobox "Removing temporary packages from target ..." 4 60
         echo "Removing temporary packages from target ..." >$LOG