summaryrefslogtreecommitdiffstats
path: root/install/base
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-28 03:40:59 +0200
committerDave Reisner <dreisner@archlinux.org>2012-03-28 03:40:59 +0200
commitd397043814a47f0762175a9999a01f3ec0088152 (patch)
tree386314e4a3c5b6932ad4809e343b3729158e11bc /install/base
parentab24f0129f680ecbdd62bca39b101eec03eb6038 (diff)
downloadmkinitcpio-d397043814a47f0762175a9999a01f3ec0088152.tar.gz
mkinitcpio-d397043814a47f0762175a9999a01f3ec0088152.tar.xz
fsck: leverage blank /etc/fstab included by base
Since 3b18c9cd we have a blank /etc/fstab in the image. This is also forward thinking for the next release of util-linux (2.22), where fsck complains loudly about my filthy hack of using /dev/null as /etc/fstab. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/base')
-rw-r--r--install/base2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/base b/install/base
index 87c0b5d..eee61c9 100644
--- a/install/base
+++ b/install/base
@@ -28,7 +28,7 @@ build() {
add_symlink "/etc/mtab" "/proc/self/mounts"
- # Add an empty fstab to avoid mount warning when -o remount is used
+ # Add an empty fstab for mount and fsck
>"$BUILDROOT/etc/fstab"
add_file "/usr/lib/initcpio/init_functions" "/init_functions"