rpms/kernel/devel kernel-2.6.spec,1.1909,1.1910
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sun Feb 5 07:40:58 UTC 2006
- Previous message (by thread): rpms/libgnome/devel libgnome.spec,1.46,1.47
- Next message (by thread): rpms/mozilla/devel mozilla-1.7.12-CVE-2005-4134-long-history-dos.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0292-javascript-unrooted.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0296-XULDocument.persist.patch, NONE, 1.1 mozilla.spec, 1.82, 1.83
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: davej
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13108
Modified Files:
kernel-2.6.spec
Log Message:
Fix sed failure if /etc/sysconfig/kernel doesn't exist. (#180025)
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.1909
retrieving revision 1.1910
diff -u -r1.1909 -r1.1910
--- kernel-2.6.spec 4 Feb 2006 17:45:27 -0000 1.1909
+++ kernel-2.6.spec 5 Feb 2006 07:40:56 -0000 1.1910
@@ -1208,7 +1208,9 @@
%post
if [ `uname -i` == "x86_64" ]; then
- /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/sysconfig/kernel
+ if [ -f /etc/sysconfig/kernel ]; then
+ /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/sysconfig/kernel
+ fi
fi
[ ! -x /usr/sbin/module_upgrade ] || /usr/sbin/module_upgrade %{rpmversion}-%{release}
/sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install %{KVERREL}
@@ -1397,6 +1399,9 @@
%endif
%changelog
+* Sun Feb 5 2006 Dave Jones <davej at redhat.com>
+- Fix sed failure if /etc/sysconfig/kernel doesn't exist. (#180025)
+
* Sat Feb 4 2006 Dave Jones <davej at redhat.com>
- 2.6.16rc2-git1
- Fix deadlock in do_path_lookup()
- Previous message (by thread): rpms/libgnome/devel libgnome.spec,1.46,1.47
- Next message (by thread): rpms/mozilla/devel mozilla-1.7.12-CVE-2005-4134-long-history-dos.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0292-javascript-unrooted.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0296-XULDocument.persist.patch, NONE, 1.1 mozilla.spec, 1.82, 1.83
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list