[grub2] Set sbindir correctly.

Peter Jones pjones at fedoraproject.org
Thu Jul 21 21:20:48 UTC 2011


commit 34b46d9fe83c6318c65f8aee0d633a0a54589fe8
Author: Peter Jones <pjones at redhat.com>
Date:   Wed Jul 20 11:23:00 2011 -0400

    Set sbindir correctly.

 grub2.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index 8fcfde7..ec6cd75 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -111,7 +111,8 @@ cd grub-efi-%{filever}
 		-e 's/-fasynchronous-unwind-tables//g' )"\
 	TARGET_LDFLAGS=-static				\
         --with-platform=efi				\
-        --program-transform-name=s,grub,%{name}-efi,
+        --program-transform-name=s,grub,%{name}-efi,	\
+        --sbindir=/sbin
 make %{?_smp_mflags}
 %ifarch %{ix86}
 %define grubefiarch i386-efi
@@ -141,7 +142,8 @@ PLATFORM=pc
 		-e 's/-fasynchronous-unwind-tables//g' )"\
 	TARGET_LDFLAGS=-static				\
         --with-platform=$PLATFORM			\
-        --program-transform-name=s,grub,%{name},
+        --program-transform-name=s,grub,%{name},	\
+        --sbindir=/sbin
 
 make %{?_smp_mflags}
 


More information about the scm-commits mailing list