added yum-2.6.0-chroot.patch
[util-vserver.git] / util-vserver / distrib / redhat / initpre
index 508076a..f1ffc88 100755 (executable)
@@ -20,3 +20,6 @@ vdir=$1/vdir
 
 ## Fix/workaround the misclassification of %_netsharedpath's parent directories
 mkdir -p "$vdir"/{etc/rc.d/init.d,/sbin,/usr/bin}
+
+## Workaround broken kernel %post scripts
+ln -s ../bin/true "$vdir"/sbin/new-kernel-pkg