rpms/initng/devel initng.spec,1.1,1.2

Daniel Malmgren (danielm) fedora-extras-commits at redhat.com
Sun Dec 4 11:41:03 UTC 2005


Author: danielm

Update of /cvs/extras/rpms/initng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12938

Modified Files:
	initng.spec 
Log Message:



Index: initng.spec
===================================================================
RCS file: /cvs/extras/rpms/initng/devel/initng.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- initng.spec	4 Dec 2005 11:30:18 -0000	1.1
+++ initng.spec	4 Dec 2005 11:41:01 -0000	1.2
@@ -1,7 +1,7 @@
 Summary: Programs which control basic system processes
 Name: initng
 Version: 0.4.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 URL: http://initng.thinktux.net
 Group: System Environment/Base
@@ -53,6 +53,10 @@
   if [ $? -ne 0 ]; then
     cp /boot/grub/grub.conf /boot/grub/grub.conf.bak
     defaultkpath=`grubby --default-kernel`
+    if test -n $defaultkpath && test -f "/boot/vmlinuz-"`uname -r`
+    then
+    	defaultkpath="/boot/vmlinuz-"`uname -r`
+    fi
     defaultinitrd=`grubby --info=$defaultkpath | grep initrd`
     grubby --add-kernel=$defaultkpath --copy-default --args="init=/sbin/initng" --title="initng boot" --$defaultinitrd
   fi
@@ -94,6 +98,9 @@
 /sbin/ifplugd.action
 
 %changelog
+* Sun Dec 04 2005 Adel Gadllah <adel.gadllah at gmx.net> 0.4.7-2
+- Fixed case where default entry in grub is not a linuxkernel
+
 * Thu Dec 01 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.7-1
 - New upstream version
 




More information about the scm-commits mailing list