public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-cluster/util-vserver/files: util-vserver-0.30.215-openrc.patch util-vserver-0.30.214-openrc.patch
@ 2008-04-13 10:24 Benedikt Boehm (hollow)
  0 siblings, 0 replies; only message in thread
From: Benedikt Boehm (hollow) @ 2008-04-13 10:24 UTC (permalink / raw
  To: gentoo-commits

hollow      08/04/13 10:24:12

  Added:                util-vserver-0.30.215-openrc.patch
  Removed:              util-vserver-0.30.214-openrc.patch
  Log:
  0.30.215 stable on amd64/x86; fix mktemp dependency; fix functions.sh location for openrc; remove old version
  (Portage version: 2.1.5_rc2)

Revision  Changes    Path
1.1                  sys-cluster/util-vserver/files/util-vserver-0.30.215-openrc.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/util-vserver/files/util-vserver-0.30.215-openrc.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/util-vserver/files/util-vserver-0.30.215-openrc.patch?rev=1.1&content-type=text/plain

Index: util-vserver-0.30.215-openrc.patch
===================================================================
Index: scripts/vserver-init.functions
===================================================================
--- scripts/vserver-init.functions	(revision 2711)
+++ scripts/vserver-init.functions	(revision 2712)
@@ -21,7 +21,7 @@
     _postResult() { echo; }
     lockfile=/var/lock/subsys/$LOCKFILE
 elif test -e /etc/gentoo-release; then
-    . /sbin/functions.sh
+    . /etc/init.d/functions.sh
     _beginResult() { ebegin "$@"; }
     _postResult() { :; }
     success() { eend 0; }
Index: distrib/gentoo/initpost
===================================================================
--- distrib/gentoo/initpost	(revision 2711)
+++ distrib/gentoo/initpost	(revision 2712)
@@ -63,6 +63,11 @@
 if test "$initstyle" == "gentoo"; then
 	echo ">>> Installing special init-style magic ... "
 
+	# force /lib/rc/sh even if we don't have it in older stages
+	$_CHROOT_SH mkdir /lib 2>/dev/null || :
+	$_CHROOT_SH mkdir /lib/rc 2/dev/null || :
+	$_CHROOT_SH mkdir /lib/rc/sh 2/dev/null || :
+
 	$_CAT "$__DISTRIBDIR"/gentoo/init-vserver.sh | \
 	$_CHROOT_SH truncate   /lib/rc/sh/init-vserver.sh
 	$_CHROOT_SH chmod 0755 /lib/rc/sh/init-vserver.sh



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-13 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 10:24 [gentoo-commits] gentoo-x86 commit in sys-cluster/util-vserver/files: util-vserver-0.30.215-openrc.patch util-vserver-0.30.214-openrc.patch Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox