diff options
Diffstat (limited to 'src/installer')
-rw-r--r-- | src/installer/pcramfs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/installer/pcramfs.sh b/src/installer/pcramfs.sh index 4aae82a..18d9f0b 100644 --- a/src/installer/pcramfs.sh +++ b/src/installer/pcramfs.sh @@ -37,11 +37,15 @@ installer_pcramfs_main() return 1 fi + # First pass: create an empty RAM FS for LILO to find and map. + (cd -- "${root}" && profile_make_initramfs "${arch}" "${plat}") + if ! install_system "${arch}" "${plat}" "${root}" "${foreign}"; then block_umount "${root}" return 1 fi + # Second pass: pack the system into the previously empty RAM FS. (cd -- "${root}" && profile_make_initramfs "${arch}" "${plat}") block_umount "${root}" |