diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-09-03 16:59:23 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-09-17 16:30:59 +0200 |
commit | 2b5877dbfb24dedb23cd23ea8dbec1b1a98ad589 (patch) | |
tree | 8854191a632b98cbdae717729b81c4664b37b0e6 /functions | |
parent | c0b975a8e3efacd965ec5166af4d572253f51143 (diff) | |
download | mkinitcpio-2b5877dbfb24dedb23cd23ea8dbec1b1a98ad589.tar.gz mkinitcpio-2b5877dbfb24dedb23cd23ea8dbec1b1a98ad589.tar.xz |
install fstab/mtab as part of base layout
These are low level enough that they should be part of the base layout,
similar to the filesystem package in userspace. Later hooks can easily
override these, if they really want to.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 4 insertions, 0 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" |