aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-01-18 01:08:30 +0000
committerBill Nottingham <notting@redhat.com>2002-01-18 01:08:30 +0000
commit7d5fa7a62ad0464684e979bbb87351055fe69025 (patch)
tree67a2aaabaab4c851d436eef8c210a1067c0e0fa3
parent9c63642a1f7d7bf296b28e2f61b493188f09846d (diff)
downloadinitscripts-7d5fa7a62ad0464684e979bbb87351055fe69025.tar
initscripts-7d5fa7a62ad0464684e979bbb87351055fe69025.tar.gz
initscripts-7d5fa7a62ad0464684e979bbb87351055fe69025.tar.bz2
initscripts-7d5fa7a62ad0464684e979bbb87351055fe69025.tar.xz
initscripts-7d5fa7a62ad0464684e979bbb87351055fe69025.zip
add support for libredhat-kernel.so.* symlink handling (johnsonm@redhat.com)
-rw-r--r--initscripts.spec5
-rwxr-xr-xrc.d/rc.sysinit9
2 files changed, 13 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index f8d4d0c4..1d0ea016 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 6.40.2
+Version: 6.41
License: GPL
Group: System Environment/Base
Release: 1
@@ -240,6 +240,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/locale/*/LC_MESSAGES
%changelog
+* Thu Jan 17 2002 Michael K. Johnson <johnsonm@redhat.com>
+- Added support for libredhat-kernel.so.* symlink handling (6.41)
+
* Tue Oct 16 2001 Bill Nottingham <notting@redhat.com>
- add ifup-ipx back in (#54686)
- don't run logger if /usr isn't mounted in ifup-post (#54685)
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index fd182ee4..dc4c226f 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -718,6 +718,15 @@ if [ ! -e /boot/System.map -a -r /boot/System.map-`uname -r` ] ; then
ln -s -f System.map-`uname -r` /boot/System.map
fi
+# The special Red Hat kernel library symlink must point to the right library
+# We need to deal with cases where there is no library, and we need to
+# deal with any version numbers that show up.
+shopt -s nullglob
+for library in /lib/modules/$(uname -r)/libredhat-kernel.so* ; do
+ ln -s -f $library /lib/
+done
+shopt -u nullglob
+
# Now that we have all of our basic modules loaded and the kernel going,
# let's dump the syslog ring somewhere so we can find it later
dmesg -s 131072 > /var/log/dmesg