packages: grub2/grub2.spec - package core.img and device.map ghosts

glen glen at pld-linux.org
Tue Nov 17 14:31:43 CET 2009


Author: glen                         Date: Tue Nov 17 13:31:43 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package core.img and device.map ghosts

---- Files affected:
packages/grub2:
   grub2.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: packages/grub2/grub2.spec
diff -u packages/grub2/grub2.spec:1.60 packages/grub2/grub2.spec:1.61
--- packages/grub2/grub2.spec:1.60	Tue Nov 17 12:12:15 2009
+++ packages/grub2/grub2.spec	Tue Nov 17 14:31:38 2009
@@ -161,6 +161,10 @@
 rm $RPM_BUILD_ROOT%{_libexecdir}/*.h
 rm $RPM_BUILD_ROOT%{_libexecdir}/*.mk
 
+# core.img - bootable image generated by grub-mkimage(1) via grub-install(1)
+touch $RPM_BUILD_ROOT%{_libexecdir}/core.img
+touch $RPM_BUILD_ROOT%{_libexecdir}/device.map
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -212,9 +216,18 @@
 %{_libexecdir}/*.o
 %endif
 %ifarch %{ix86} %{x8664} sparc sparc64
-%{_libexecdir}/*.img
+%{_libexecdir}/boot.img
+%{_libexecdir}/cdboot.img
+%{_libexecdir}/diskboot.img
+%{_libexecdir}/kernel.img
+%{_libexecdir}/lnxboot.img
+%{_libexecdir}/pxeboot.img
 %endif
 
+# generated by grub at runtime
+%ghost %{_libexecdir}/device.map
+%ghost %{_libexecdir}/core.img
+
 %dir %{_sysconfdir}/grub.d
 %doc %{_sysconfdir}/grub.d/README
 %attr(755,root,root) %{_sysconfdir}/grub.d/00_header
@@ -239,6 +252,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2009/11/17 13:31:38  glen
+- package core.img and device.map ghosts
+
 Revision 1.60  2009/11/17 11:12:15  glen
 - restore grub-install.in.patch from grub-legacy
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/grub2/grub2.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list