diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-12-01 00:36:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 17:21:44 +0000 |
commit | b6df490f475657bd74f7b7f4a3bce41485154aff (patch) | |
tree | f81af972585c9fc325a110ddd1ce5174282db22b /meta/classes | |
parent | 5b0b9943f5368a17c886a42e8646f70be6e2e949 (diff) | |
download | poky-b6df490f475657bd74f7b7f4a3bce41485154aff.tar.gz |
kernel.bbclass: Avoid wildcards for kernel images
With multiple kernel images enabled starting with 'vmlinux', e.g.
vmlinux.gz and vmlinux.bin, all files landed inside the
kernel-vmlinux package.
On top of that, even initramfs images were included, e.g.
vmlinux.gz-initramfs-*.
(From OE-Core rev: b7f4133b44b740e8ac8e758b0d4a3ee32d326332)
(From OE-Core rev: a248ef51ae680e81cf78f07fe242ac6e01a5fcb4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 0e7ebd44fe..634553cddc 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -48,7 +48,7 @@ python __anonymous () { | |||
48 | 48 | ||
49 | d.appendVar('PACKAGES', ' ' + 'kernel-image-' + typelower) | 49 | d.appendVar('PACKAGES', ' ' + 'kernel-image-' + typelower) |
50 | 50 | ||
51 | d.setVar('FILES_kernel-image-' + typelower, '/boot/' + type + '*') | 51 | d.setVar('FILES_kernel-image-' + typelower, '/boot/' + type + '-${KERNEL_VERSION_NAME}') |
52 | 52 | ||
53 | d.appendVar('RDEPENDS_kernel-image', ' ' + 'kernel-image-' + typelower) | 53 | d.appendVar('RDEPENDS_kernel-image', ' ' + 'kernel-image-' + typelower) |
54 | 54 | ||
@@ -486,7 +486,7 @@ FILES_${PN} = "" | |||
486 | FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order /lib/modules/${KERNEL_VERSION}/modules.builtin" | 486 | FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order /lib/modules/${KERNEL_VERSION}/modules.builtin" |
487 | FILES_kernel-image = "" | 487 | FILES_kernel-image = "" |
488 | FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH} /lib/modules/${KERNEL_VERSION}/build" | 488 | FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH} /lib/modules/${KERNEL_VERSION}/build" |
489 | FILES_kernel-vmlinux = "/boot/vmlinux*" | 489 | FILES_kernel-vmlinux = "/boot/vmlinux-${KERNEL_VERSION_NAME}" |
490 | FILES_kernel-modules = "" | 490 | FILES_kernel-modules = "" |
491 | RDEPENDS_kernel = "kernel-base" | 491 | RDEPENDS_kernel = "kernel-base" |
492 | # Allow machines to override this dependency if kernel image files are | 492 | # Allow machines to override this dependency if kernel image files are |