diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 22:47:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 22:47:29 +0000 |
commit | ed5786b5fd130286c988be0f4848b196c7cc6c82 (patch) | |
tree | 697796a0f69b0c8e1ad3f644b5e627676121ad3e /sys-apps/baselayout/files | |
parent | New version: 18.49. Added 18.48 to x86. (diff) | |
download | historical-ed5786b5fd130286c988be0f4848b196c7cc6c82.tar.gz historical-ed5786b5fd130286c988be0f4848b196c7cc6c82.tar.bz2 historical-ed5786b5fd130286c988be0f4848b196c7cc6c82.zip |
move the code to the right location
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps/baselayout/files')
-rw-r--r-- | sys-apps/baselayout/files/baselayout-1.11.10-selinux-udev.patch | 28 |
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 ]] |