]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - grubby/grubby.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/amarx/ipfire-3.x.git] / grubby / grubby.nm
index b471a7aa42f03c59e4a82c6536b010b5f719195a..33274c141353cd26f0b90b7188f8f45a1e605aee 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = grubby
 version    = 8.11
-release    = 1
+release    = 3
 
 groups     = System/Base
 url        = http://git.fedorahosted.org/git/grubby.git
@@ -45,13 +45,15 @@ end
 
 packages
        package %{name}
-               # Pull in uboot-tools on ARM platforms.
-               if "%{DISTRO_ARCH}" == "armv7hl"
-                       requires += uboot-tools
+               # Pull in u-boot-tools on ARM platforms.
+               if "%{DISTRO_PLATFORM}" == "arm"
+                       requires += u-boot-tools
                end
 
-               if "%{DISTRO_ARCH}" == "armv5tel"
-                       requires += uboot-tools
+               provides
+                       /sbin/grubby
+                       /sbin/installkernel
+                       /sbin/new-kernel-pkg
                end
        end