From 03e7e12b27081f92ce4ad16f334f1313346fb9a8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Jan 2021 09:31:45 -0500 Subject: Revert "installer/pcramfs: Make RAM FS twice" This reverts commit 6e4e840980f3da36b995b0470d18e2e7ecd0a456. This didn't work. --- (limited to 'src') diff --git a/src/installer/pcramfs.sh b/src/installer/pcramfs.sh index 18d9f0b..4aae82a 100644 --- a/src/installer/pcramfs.sh +++ b/src/installer/pcramfs.sh @@ -37,15 +37,11 @@ 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}" diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index 28d2bbd..4795e91 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -426,7 +426,6 @@ prof_proteanos_make_initramfs() else init_created=false fi - mkdir -p boot find . -xdev -a \! -path './boot/*' -a \ \! -path './prokit/*' | \ ${CPIO} -o -H newc | \ -- cgit v0.9.1