X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config.planetlab%2Fsliceimage.post;h=1db1869d7ffc1d92860c826a504ed263286260e1;hb=refs%2Ftags%2F5.3.8;hp=e7d92e0c9be9c5a54a91dcefb60860e5b9b8ea11;hpb=d4af95af53a387cba8e0a2ccade6cd4534fb24db;p=build.git diff --git a/config.planetlab/sliceimage.post b/config.planetlab/sliceimage.post index e7d92e0c..1db1869d 100644 --- a/config.planetlab/sliceimage.post +++ b/config.planetlab/sliceimage.post @@ -36,4 +36,13 @@ if [ -d selinux ] ; then rmdir selinux fi fi + +# for when runing under lxc, make sure we don't try to fsck from a slice +sed -i -e 's,1 1,0 0,' ${vdir}/etc/fstab + +# a workaround for running f12 slices under f18; as per Andy findings, we +# remove /etc/event.d/tty[23456] inside the slice image +# this is not required in f>=16 since these files are upstart-specific anyway +rm -f ${vdir}/etc/event.d/tty[23456] + cd -