summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions b/functions
index eee09ec..4f25a86 100644
--- a/functions
+++ b/functions
@@ -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"