diff options
author | Daniel Baumann <daniel@debian.org> | 2012-04-06 12:10:04 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-04-06 12:10:04 +0200 |
commit | f3f9ad8bdec8df12bf20ae542c92ebfe75b1a86e (patch) | |
tree | 77052777f6cee380e0fa530440e7eab64bd78428 | |
parent | 982e2fb0a9f8424e0b32a57e89f36a1d9909d79f (diff) | |
download | vyos-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.
-rwxr-xr-x | scripts/build/lb_chroot_hacks | 1 |
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" ] |