installer: mount pseudofs to regenerate the initramfs.
This fixes the last issue with musl!
This commit is contained in:
parent
422bdf640c
commit
289592a0f6
@ -849,14 +849,14 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
|
|||||||
DIALOG --title "Check $LOG for details" \
|
DIALOG --title "Check $LOG for details" \
|
||||||
--infobox "Rebuilding initramfs for target ..." 4 60
|
--infobox "Rebuilding initramfs for target ..." 4 60
|
||||||
echo "Rebuilding initramfs for target ..." >$LOG
|
echo "Rebuilding initramfs for target ..." >$LOG
|
||||||
|
# mount required fs
|
||||||
|
mount_filesystems
|
||||||
chroot $TARGETDIR dracut --no-hostonly --add-drivers "ahci" --force >>$LOG 2>&1
|
chroot $TARGETDIR dracut --no-hostonly --add-drivers "ahci" --force >>$LOG 2>&1
|
||||||
DIALOG --title "Check $LOG for details" \
|
DIALOG --title "Check $LOG for details" \
|
||||||
--infobox "Removing temporary packages from target ..." 4 60
|
--infobox "Removing temporary packages from target ..." 4 60
|
||||||
echo "Removing temporary packages from target ..." >$LOG
|
echo "Removing temporary packages from target ..." >$LOG
|
||||||
xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1
|
xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1
|
||||||
rmdir $TARGETDIR/mnt/target
|
rmdir $TARGETDIR/mnt/target
|
||||||
# mount required fs
|
|
||||||
mount_filesystems
|
|
||||||
else
|
else
|
||||||
# mount required fs
|
# mount required fs
|
||||||
mount_filesystems
|
mount_filesystems
|
||||||
|
Loading…
x
Reference in New Issue
Block a user