From 3d1279c0bfd1778d4d35c3587f6de657388c18c9 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 9 Mar 2004 01:58:39 +0000 Subject: [PATCH] added hack for https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117827 git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1167 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/distrib/defaults/rpm/macros | 2 +- util-vserver/distrib/redhat/initpost | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/util-vserver/distrib/defaults/rpm/macros b/util-vserver/distrib/defaults/rpm/macros index fdc259f..8bada0d 100644 --- a/util-vserver/distrib/defaults/rpm/macros +++ b/util-vserver/distrib/defaults/rpm/macros @@ -1,4 +1,4 @@ # Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725 # you have to use at least one language beside 'C' %_install_langs C:de:en:es:fr -%_netsharedpath /dev:/etc/rc.d/init.d/halt:/sbin/new-kernel-pkg +%_netsharedpath /dev:/etc/rc.d/init.d/halt:/sbin/new-kernel-pkg:/usr/bin/rhgb-client diff --git a/util-vserver/distrib/redhat/initpost b/util-vserver/distrib/redhat/initpost index b367094..73e98f7 100755 --- a/util-vserver/distrib/redhat/initpost +++ b/util-vserver/distrib/redhat/initpost @@ -45,6 +45,10 @@ pushd "$vdir"/sbin &>/dev/null relink /bin/true new-kernel-pkg popd >/dev/null +pushd "$vdir"/usr/bin &>/dev/null + relink /bin/true rhgb-client +popd >/dev/null + pushd "$vdir"/etc &>/dev/null echo 'NETWORKING=yes' >>sysconfig/network popd >/dev/null -- 1.8.1.5