]> git.pld-linux.org Git - packages/grub2.git/commitdiff
- package /boot/grub/custom.cfg - file appended to generated grub.cfg
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Oct 2011 08:47:35 +0000 (08:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    grub2.spec -> 1.113

grub2.spec

index 05ae668e9fe924187401c7b5849e915664f585d4..da1826adfe5d5e650916514f9e652ff260829067 100644 (file)
@@ -250,6 +250,8 @@ rm $RPM_BUILD_ROOT/boot/grub/update-grub_lib
 # 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
+# grub.d/41_custom
+touch $RPM_BUILD_ROOT%{_libexecdir}/custom.cfg
 
 # needs to be exactly 1KiB
 # but we're ghosting it. so whom are we kidding here? :P (maybe %config it in future?)
@@ -329,6 +331,7 @@ echo "Grub was upgraded, trying to setup it to boot sector"
 # XXX: check this locale dir location and if it is neccesaary to exist on /boot
 %dir %{_libexecdir}/locale
 %config(noreplace) %verify(not md5 mtime size) %{_libexecdir}/grub.cfg
+%config(noreplace) %verify(not md5 mtime size) %{_libexecdir}/custom.cfg
 %{_libexecdir}/*.lst
 %{_libexecdir}/*.mod
 %if %{with efiemu}
This page took 0.057028 seconds and 4 git commands to generate.