Add 'mvebu' to list of recognized ARM kernels.

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
This commit is contained in:
d.marlin 2012-07-25 03:41:08 -05:00 committed by Martin Gracik
parent 1000e98555
commit f170b6dc49
3 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ kernelAddress = { 'baseline' : '0x00008000',
'highbank' : '0x00008000', 'highbank' : '0x00008000',
'imx' : '0x90008000', 'imx' : '0x90008000',
'kirkwood' : '0x00008000', 'kirkwood' : '0x00008000',
'mvebu' : '0x00008000',
'omap' : '0x80008000', 'omap' : '0x80008000',
'tegra' : '0x00008000', 'tegra' : '0x00008000',
} }

View File

@ -23,7 +23,7 @@ installpkg kernel
## arch-specific packages (bootloaders etc.) ## arch-specific packages (bootloaders etc.)
%if basearch in ("arm", "armhfp"): %if basearch in ("arm", "armhfp"):
installpkg kernel-highbank kernel-imx kernel-kirkwood kernel-omap kernel-tegra installpkg kernel-highbank kernel-imx kernel-kirkwood kernel-mvebu kernel-omap kernel-tegra
installpkg uboot-tools installpkg uboot-tools
%endif %endif
%if basearch == "i386": %if basearch == "i386":

View File

@ -259,7 +259,7 @@ class TreeBuilder(object):
def findkernels(root="/", kdir="boot"): def findkernels(root="/", kdir="boot"):
# To find possible flavors, awk '/BuildKernel/ { print $4 }' kernel.spec # To find possible flavors, awk '/BuildKernel/ { print $4 }' kernel.spec
flavors = ('debug', 'PAE', 'PAEdebug', 'smp', 'xen', 'highbank', 'imx', 'kirkwood', 'omap', 'tegra') flavors = ('debug', 'PAE', 'PAEdebug', 'smp', 'xen', 'highbank', 'imx', 'kirkwood', 'mvebu', 'omap', 'tegra')
kre = re.compile(r"vmlinuz-(?P<version>.+?\.(?P<arch>[a-z0-9_]+)" kre = re.compile(r"vmlinuz-(?P<version>.+?\.(?P<arch>[a-z0-9_]+)"
r"(\.(?P<flavor>{0}))?)$".format("|".join(flavors))) r"(\.(?P<flavor>{0}))?)$".format("|".join(flavors)))
kernels = [] kernels = []