about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-01-15 14:40:35 +0100
committerJuan RP <xtraeme@gmail.com>2015-01-15 14:40:35 +0100
commit289592a0f65ae9673bf3ad42d9fa7efbcbdcd319 (patch)
treee3daa9d876d5b7a533644acf2f0f840d90c1d7f7 /installer.sh.in
parent422bdf640ca7420b2befd62520f35f6b0bea8b90 (diff)
downloadhrmpf-289592a0f65ae9673bf3ad42d9fa7efbcbdcd319.tar.gz
hrmpf-289592a0f65ae9673bf3ad42d9fa7efbcbdcd319.tar.xz
hrmpf-289592a0f65ae9673bf3ad42d9fa7efbcbdcd319.zip
installer: mount pseudofs to regenerate the initramfs.
This fixes the last issue with musl!
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 5ae0fda..e881e25 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -849,14 +849,14 @@ ${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
+        # mount required fs
+        mount_filesystems
         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
         xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1
         rmdir $TARGETDIR/mnt/target
-        # mount required fs
-        mount_filesystems
     else
         # mount required fs
         mount_filesystems