diff options
-rw-r--r-- | functions | 4 | ||||
-rw-r--r-- | install/base | 5 |
2 files changed, 4 insertions, 5 deletions
@@ -630,6 +630,10 @@ initialize_buildroot() { # kernel module dir install -dm755 "$workdir/root/usr/lib/modules/$kernver/kernel" + # mount tables + ln -s /proc/self/mounts "$workdir/root/etc/mtab" + >"$workdir/root/etc/fstab" + # indicate that this is an initramfs >"$workdir/root/etc/initrd-release" diff --git a/install/base b/install/base index 7bb23a8..02678e9 100644 --- a/install/base +++ b/install/base @@ -19,11 +19,6 @@ build() { add_binary mount add_binary switch_root - add_symlink "/etc/mtab" "/proc/self/mounts" - - # Add an empty fstab for mount and fsck - >"$BUILDROOT/etc/fstab" - add_file "/usr/lib/initcpio/init_functions" "/init_functions" add_file "/usr/lib/initcpio/init" "/init" add_file "/usr/lib/modprobe.d/usb-load-ehci-first.conf" |