From 2ed575b506f9a203c5532112e6743dd37652f957 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 24 May 2016 14:39:29 +0200 Subject: [PATCH] uboot: Avoid QA error on packaging I didn't know that u-boot was creating a package and installing the bin into /boot. The detection of the file seems to have changed and a new QA error comes up. ERROR: u-boot-v2011.12+gitAUTOINC+f6453a3911-r0 do_package: QA Issue: split_and_strip_files: 'file /home/oebuilds/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/sysmobts_v2-poky-linux-gnueabi/u-boot/v2011.12+gitAUTOINC+f6453a3911-r0/package/boot/u-boot-sysmobts-v2-v2011.12+gitAUTOINC+f6453a3911-r0' failed [split-strip] This seems to have been introduced by changing the LC_ALL to en_US.UTF-8. I have started a dialogue with upstream development but as we do not need a u-boot package, let's just remove the files. --- recipes-sysmobts/uboot/u-boot_sysmocom.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-sysmobts/uboot/u-boot_sysmocom.inc b/recipes-sysmobts/uboot/u-boot_sysmocom.inc index 64b73db..47e6078 100644 --- a/recipes-sysmobts/uboot/u-boot_sysmocom.inc +++ b/recipes-sysmobts/uboot/u-boot_sysmocom.inc @@ -13,6 +13,10 @@ COMPATIBLE_MACHINE = "(sysmobts-v2)" UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}" UBOOT_SYMLINK = "u-boot-${MACHINE}" +do_install_append() { + rm ${D}/boot/* +} + do_deploy_prepend () { install -d ${DEPLOYDIR} install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}.bin