summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-06 12:10:04 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-06 12:10:04 +0200
commitf3f9ad8bdec8df12bf20ae542c92ebfe75b1a86e (patch)
tree77052777f6cee380e0fa530440e7eab64bd78428 /scripts
parent982e2fb0a9f8424e0b32a57e89f36a1d9909d79f (diff)
downloadvyos-live-build-f3f9ad8bdec8df12bf20ae542c92ebfe75b1a86e.tar.gz
vyos-live-build-f3f9ad8bdec8df12bf20ae542c92ebfe75b1a86e.zip
When removing fstab for live-installer also touch an empty file for it to avoid other packages failing on non-existing fstab.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot_hacks1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index bdebc331e..6f471ce08 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -256,6 +256,7 @@ then
# This is a temporary hack to get rid of fstab;
# needs cleanup in live-boot first to proper fix.
rm -f chroot/etc/fstab
+ touch chroot/etc/fstab
fi
if [ "${LB_EXPOSED_ROOT}" = "true" ]