more sensible name develdeb.pkgs as it is used for all debians
[build.git] / config.planetlab / sliceimage.post
index e7d92e0..1db1869 100644 (file)
@@ -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 -