From: Thierry Parmentelat Date: Fri, 21 Jun 2013 20:43:53 +0000 (+0200) Subject: replace '1 1' with '0 0' in /etc/fstab in slice images instead of touching /fastboot X-Git-Tag: 5.2.5~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=53b5dc5ee3f94c67944a8cd0e85599cb1673026e;p=build.git replace '1 1' with '0 0' in /etc/fstab in slice images instead of touching /fastboot we expect more accurate results, as we only want to skip fsck here but still have sysvinit do its job --- diff --git a/config.lxc/sliceimage.post b/config.lxc/sliceimage.post index 672119b1..5a145e2e 100644 --- a/config.lxc/sliceimage.post +++ b/config.lxc/sliceimage.post @@ -29,6 +29,6 @@ if [ -d selinux ] ; then fi # for when runing under lxc, make sure we don't try to fsck from a slice -touch ${vdir}/fastboot +sed -i -e 's,1 1,0 0,' ${vdir}/etc/fstab cd - diff --git a/config.planetlab/sliceimage.post b/config.planetlab/sliceimage.post index faeecb78..c4148308 100644 --- a/config.planetlab/sliceimage.post +++ b/config.planetlab/sliceimage.post @@ -38,6 +38,6 @@ if [ -d selinux ] ; then fi # for when runing under lxc, make sure we don't try to fsck from a slice -touch ${vdir}/fastboot +sed -i -e 's,1 1,0 0,' ${vdir}/etc/fstab cd -