summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-02-19 19:19:03 +0000
committerBill Nottingham <notting@redhat.com>2004-02-19 19:19:03 +0000
commitdbc06f76ca4e4d93697ed1e4f502a46473be9882 (patch)
tree07def3fe7642789f561700d2122b891af71e81f3
parent13be9b18ab5a34a992d33eadd7e9e4bf9b37166c (diff)
downloadinitscripts-dbc06f76ca4e4d93697ed1e4f502a46473be9882.tar.gz
initscripts-dbc06f76ca4e4d93697ed1e4f502a46473be9882.tar.xz
initscripts-dbc06f76ca4e4d93697ed1e4f502a46473be9882.zip
workaround for previous bug #112116 - make sure /boot/kernel.h is
always generated
-rw-r--r--initscripts.spec6
-rwxr-xr-xrc.d/rc.sysinit4
2 files changed, 9 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index ea3e55b5..3f14a5bd 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.47.7
+Version: 6.47.8
License: GPL
Group: System Environment/Base
Release: 1
@@ -240,6 +240,10 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/locale/*/LC_MESSAGES
%changelog
+* Thu Feb 19 2004 Bill Nottingham <notting@redhat.com> 6.47.8-1
+- regenerate /boot/kernel.h on each boot (workaround for previous bug
+ #112116)
+
* Wed Jan 7 2004 Bill Nottingham <notting@redhat.com>
- fix bonding support (#112926)
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b1745179..c33de8c2 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -714,6 +714,10 @@ if grep -q "ide-scsi" /proc/cmdline ; then
fi
# Generate a header that defines the boot kernel.
+
+# workaround for bug #112116
+rm -f /boot/kernel.h
+
/sbin/mkkerneldoth
# Adjust symlinks as necessary in /boot to keep system services from