Browse Source

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

Juan RP 10 năm trước cách đây
mục cha
commit
ce35908f35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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