Skip to contentSkip to conversation

squelch kernel.bblass QA warning

PATCH New [email protected] 1 participant 2 messages May 7, 2013

lore
Share & tools
lore
#0 lore raw

cover squelch kernel.bblass QA warning

From: Tom Zanussi <[email protected]>

This fixes QA warnings I'm seeing when building a 'traditional' kernel recipe.

Please pull into both master and dylan.

The following changes since commit 9895d2c074156fee338d91aed7cfb0800477c622:

maintainers.inc: update sbc pkg maintainer (2013-05-07 13:58:26 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/traditional-qawarn-fix
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/traditional-qawarn-fix

Tom Zanussi (1):
kernel.bbclass: make FILES package-specific

 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 1/1 kernel.bbclass: make FILES package-specific

From: Tom Zanussi <[email protected]>

Fix QA warnings seen when using 'traditional' kernel recipes e.g.:

WARNING: QA Issue: .../recipes-kernel/linux/linux_3.0.18.bb: Variable FILES is set as not being package specific, please fix this.

---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
index 00e27ef..3320747 100644
@@ -252,7 +252,7 @@ EXPORT_FUNCTIONS do_compile do_install do_configure
 # kernel-base becomes kernel-${KERNEL_VERSION}
 # kernel-image becomes kernel-image-${KERNEL_VERISON}
 PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev kernel-modules"
-FILES = ""
+FILES_${PN} = ""
 FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order /lib/modules/${KERNEL_VERSION}/modules.builtin"
 FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
 FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH}"
Signature · 1 line
1.7.11.4