summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2012-12-13 16:08:12 +0100
committerJonathan Bauer2012-12-13 16:08:12 +0100
commite9595016ca5633efecbbb95cf7c4d4c025449934 (patch)
tree68cae6fc0c58bd4218aaf7d6171fe18b3d78de62 /remote
parentgeneration of stage 3.1 (init is under data/stage3.1 (diff)
downloadtm-scripts-e9595016ca5633efecbbb95cf7c4d4c025449934.tar.gz
tm-scripts-e9595016ca5633efecbbb95cf7c4d4c025449934.tar.xz
tm-scripts-e9595016ca5633efecbbb95cf7c4d4c025449934.zip
fix for /etc/fstab messing with remount-rootfs.service
Diffstat (limited to 'remote')
-rw-r--r--remote/tools/base/base.build3
-rw-r--r--remote/tools/base/base.conf3
2 files changed, 4 insertions, 2 deletions
diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build
index b694f13c..280e7631 100644
--- a/remote/tools/base/base.build
+++ b/remote/tools/base/base.build
@@ -61,6 +61,9 @@ post_copy() {
# copy pam modules, TODO: better way to find arch-dependant interfix...
tar -cpv $(dirname $(locate pam_unix.so|grep ^/lib/)) | tar -xpv -C $INIT_DIR &>/dev/null
+ # quick fix for /etc/fstab
+ echo "no configuration" >> $INIT_DIR/etc/fstab
+
# link /etc/mtab, needed for systemd
ln -s /proc/self/mounts $INIT_DIR/etc/mtab
diff --git a/remote/tools/base/base.conf b/remote/tools/base/base.conf
index 1d921557..b92d19aa 100644
--- a/remote/tools/base/base.conf
+++ b/remote/tools/base/base.conf
@@ -41,5 +41,4 @@ REQUIRED_FILES=" /etc/passwd
/etc/login.defs
/etc/nsswitch.conf
/etc/securetty
- /etc/default/locale
- /etc/fstab"
+ /etc/default/locale"