OpenRC: update to 0.6.1.

This commit is contained in:
Juan RP
2010-05-18 00:07:37 +02:00
parent c99f975f63
commit ac5a56f952
3 changed files with 2 additions and 22 deletions

View File

@@ -1,17 +0,0 @@
--- sh/init.sh.Linux.in.orig 2010-02-26 09:13:26.682795699 +0100
+++ sh/init.sh.Linux.in 2010-02-26 09:20:18.411807297 +0100
@@ -70,4 +70,14 @@ if $mountproc; then
eend $?
fi
+# Try to mount xenfs as early as possible, otherwise rc_sys() will always
+# return RC_SYS_XENU and will think that we are in a domU while it's not.
+if grep -Eq "[[:space:]]+xenfs$" /proc/filesystems; then
+ ebegin "Mounting xenfs"
+ if ! fstabinfo --mount /proc/xen; then
+ mount -n -t xenfs xenfs /proc/xen -o nosuid,nodev,noexec
+ fi
+ eend $?
+fi
+
. "$RC_LIBEXECDIR"/sh/init-common-post.sh