This fixes the last issue with musl!
Unified · Split
| @@ -849,14 +849,14 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return · 848 unmodified lines | |||
| 849 | DIALOG --title "Check $LOG for details" \ | 849 | DIALOG --title "Check $LOG for details" \ |
| 850 | --infobox "Rebuilding initramfs for target ..." 4 60 | 850 | --infobox "Rebuilding initramfs for target ..." 4 60 |
| 851 | echo "Rebuilding initramfs for target ..." >$LOG | 851 | echo "Rebuilding initramfs for target ..." >$LOG |
| 852 | # mount required fs | ||
| 853 | mount_filesystems | ||
| 852 | chroot $TARGETDIR dracut --no-hostonly --add-drivers "ahci" --force >>$LOG 2>&1 | 854 | chroot $TARGETDIR dracut --no-hostonly --add-drivers "ahci" --force >>$LOG 2>&1 |
| 853 | DIALOG --title "Check $LOG for details" \ | 855 | DIALOG --title "Check $LOG for details" \ |
| 854 | --infobox "Removing temporary packages from target ..." 4 60 | 856 | --infobox "Removing temporary packages from target ..." 4 60 |
| 855 | echo "Removing temporary packages from target ..." >$LOG | 857 | echo "Removing temporary packages from target ..." >$LOG |
| 856 | xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1 | 858 | xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1 |
| 857 | rmdir $TARGETDIR/mnt/target | 859 | rmdir $TARGETDIR/mnt/target |
| 858 | # mount required fs | ||
| 859 | mount_filesystems | ||
| 860 | else | 860 | else |
| 861 | # mount required fs | 861 | # mount required fs |
| 862 | mount_filesystems | 862 | mount_filesystems |