From a015170c39bd5738cce925684195f19df0c53f30 Mon Sep 17 00:00:00 2001 From: Charles Cross Date: Mon, 2 May 2016 12:17:38 -0700 Subject: [PATCH] Added step to install fstab file, otherwise booting fails in created image because the fstab is empty --- stage1/01-sys-tweaks/00-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage1/01-sys-tweaks/00-run.sh b/stage1/01-sys-tweaks/00-run.sh index 5c6ce7e..ac7c428 100755 --- a/stage1/01-sys-tweaks/00-run.sh +++ b/stage1/01-sys-tweaks/00-run.sh @@ -3,7 +3,7 @@ install -d ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d install -m 644 files/noclear.conf ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/noclear.conf install -m 744 files/policy-rc.d ${ROOTFS_DIR}/usr/sbin/policy-rc.d -#install -v -m 644 files/fstab ${ROOTFS_DIR}/etc/fstab TODO: Necessary in systemd? +install -v -m 644 files/fstab ${ROOTFS_DIR}/etc/fstab on_chroot sh -e - </dev/null 2>&1; then