summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-16 22:47:29 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-16 22:47:29 +0000
commit1743831d9dd859e4c1ebfe95d91d53e4598f4192 (patch)
treea9a4668038c876ba9333e0f4dc5abfc30c7089d6 /sys-apps
parentNew version: 18.49. Added 18.48 to x86. (diff)
downloadgentoo-2-1743831d9dd859e4c1ebfe95d91d53e4598f4192.tar.gz
gentoo-2-1743831d9dd859e4c1ebfe95d91d53e4598f4192.tar.bz2
gentoo-2-1743831d9dd859e4c1ebfe95d91d53e4598f4192.zip
move the code to the right location
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch28
1 files changed, 11 insertions, 17 deletions
diff --git a/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch b/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch
index badf33f570ae..4e39ec2f158f 100644
--- a/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch
+++ b/sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch
@@ -1,20 +1,14 @@
-Index: sbin/rc
-===================================================================
-RCS file: /var/cvsroot/gentoo-src/rc-scripts/sbin/rc,v
-retrieving revision 1.112
-retrieving revision 1.113
-diff -u -r1.112 -r1.113
---- sbin/rc 30 Jan 2005 20:12:31 -0000 1.112
-+++ sbin/rc 10 Mar 2005 23:38:28 -0000 1.113
-@@ -241,6 +241,11 @@
+--- sbin/rc
++++ sbin/rc
+@@ -264,6 +259,11 @@
fi
- fi
+ eend $?
-+ # Selinux lovin; /selinux should be mounted by selinux-patched init
-+ if [[ -x /sbin/restorecon ]] && [[ -c /selinux/null ]]; then
-+ restorecon /dev &> /selinux/null
-+ fi
++ # Selinux lovin; /selinux should be mounted by selinux-patched init
++ if [[ -x /sbin/restorecon ]] && [[ -c /selinux/null ]] ; then
++ restorecon /dev &> /selinux/null
++ fi
+
- # Actually start setting up /dev now
- if [[ ${udev} = "yes" ]] ; then
- # Setup temporary storage for /dev
+ # Actually get udev rolling
+ ebegin "Configuring system to use udev"
+ if [[ ${RC_DEVICE_TARBALL} = "yes" ]] && [[ -s /lib/udev-state/devices.tar.bz2 ]]