rpms/bootchart/devel bootchart.spec,1.3,1.4

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Tue Jan 22 16:53:16 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/bootchart/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15692

Modified Files:
	bootchart.spec 
Log Message:
* Tue Jan 22 2008 Adam Jackson <ajax at redhat.com> 0.9-7
- Only munge the grub config for the currently-running kernel; otherwise,
  if you dual-boot between multiple Linuxes, installing bootchart on one
  will break boot of the other.  Note that if you have multiple roots
  running the same kernel, this will still break.



Index: bootchart.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bootchart/devel/bootchart.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bootchart.spec	22 Jan 2008 16:37:33 -0000	1.3
+++ bootchart.spec	22 Jan 2008 16:52:35 -0000	1.4
@@ -58,7 +58,8 @@
 if [ -x /sbin/grubby ]; then
     eval $( /sbin/grubby --info /boot/vmlinuz-$(uname -r) ) >& /dev/null
     if [ "x$kernel" != "x" ]; then
-	/sbin/grubby --update-kernel="$kernel" --args="init=/sbin/bootchartd"
+	echo /sbin/grubby --update-kernel=/boot"$kernel" --args="init=/sbin/bootchartd"
+	/sbin/grubby --update-kernel=/boot"$kernel" --args="init=/sbin/bootchartd"
     fi
 fi
 if [ -x %{_bindir}/rebuild-gcj-db ]; then




More information about the fedora-extras-commits mailing list