]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
grubby: Depend on u-boot-tools only on 32-bit ARM arches
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Apr 2015 19:38:08 +0000 (15:38 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Apr 2015 22:29:43 +0000 (00:29 +0200)
grubby/grubby.nm

index 33274c141353cd26f0b90b7188f8f45a1e605aee..4b80bbe1fd07556a9192563de86a613ec701e483 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = grubby
 version    = 8.11
-release    = 3
+release    = 4
 
 groups     = System/Base
 url        = http://git.fedorahosted.org/git/grubby.git
@@ -46,7 +46,11 @@ end
 packages
        package %{name}
                # Pull in u-boot-tools on ARM platforms.
-               if "%{DISTRO_PLATFORM}" == "arm"
+               if "%{DISTRO_ARCH}" == "armv7hl"
+                       requires += u-boot-tools
+               end
+
+               if "%{DISTRO_ARCH}" == "armv5tel"
                        requires += u-boot-tools
                end