[grubby] Add a default (empty) boot.scr file for ARM.

Peter Jones pjones at fedoraproject.org
Thu Jun 14 16:49:32 UTC 2012


commit 0352db67448c7cd6ce3c6afb9dcfb2c5e20978e6
Author: d.marlin <dmarlin at redhat.com>
Date:   Wed Jun 13 13:13:22 2012 -0500

    Add a default (empty) boot.scr file for ARM.
    
    Signed-off-by: David A. Marlin <dmarlin at redhat.com>

 grubby.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/grubby.spec b/grubby.spec
index f0f02b2..ec75abd 100644
--- a/grubby.spec
+++ b/grubby.spec
@@ -52,6 +52,8 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
 %ifarch %{arm}
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/
 install -p uboot $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/uboot
+mkdir -p $RPM_BUILD_ROOT/boot
+echo " " >> $RPM_BUILD_ROOT/boot/boot.scr
 %endif
 
 %clean
@@ -67,6 +69,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/*.8*
 %ifarch %{arm}
 %config(noreplace) %{_sysconfdir}/sysconfig/uboot
+%config(noreplace) /boot/boot.scr
 %endif
 
 %changelog


More information about the scm-commits mailing list