X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fdistrib%2Fredhat%2Finitpre;h=f1ffc88ffb421b14edaee40658700250e82e6f90;hb=faa778968d1a7dfeaebc9fe4b847e691dc62fd15;hp=508076a5bf53a7b9fbecec4d877e6e214b183c50;hpb=233f362686b8fa56f82788c6dcecaa72d0c400ed;p=util-vserver.git diff --git a/util-vserver/distrib/redhat/initpre b/util-vserver/distrib/redhat/initpre index 508076a..f1ffc88 100755 --- a/util-vserver/distrib/redhat/initpre +++ b/util-vserver/distrib/redhat/initpre @@ -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