diff options
author | Bill Nottingham <notting@redhat.com> | 2002-01-18 01:21:20 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-01-18 01:21:20 +0000 |
commit | b16d4f216b4d66ff5b1080536683e5f91e795eb0 (patch) | |
tree | 8ec12627d061987f751ae479ba54b1477c391c74 | |
parent | 61b0f20f2d57fc7481d10e25ff73fd076f97d9d3 (diff) | |
download | initscripts-b16d4f216b4d66ff5b1080536683e5f91e795eb0.tar initscripts-b16d4f216b4d66ff5b1080536683e5f91e795eb0.tar.gz initscripts-b16d4f216b4d66ff5b1080536683e5f91e795eb0.tar.bz2 initscripts-b16d4f216b4d66ff5b1080536683e5f91e795eb0.tar.xz initscripts-b16d4f216b4d66ff5b1080536683e5f91e795eb0.zip |
add support for libredhat-kernel.so.* symlink handling (johnsonm@redhat.com)
-rw-r--r-- | initscripts.spec | 3 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/initscripts.spec b/initscripts.spec index 51858117..66d11c6b 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -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 + * Wed Nov 7 2001 Than Ngo <than@redhat.com> - fix bug in setting netmask on s390/s390x (bug #55421) nmbd daemon works now ;-) 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 |