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.
This commit is contained in:
Holger Hans Peter Freyther 2016-05-24 14:39:29 +02:00
parent 5bdf5bc9f9
commit 2ed575b506
1 changed files with 4 additions and 0 deletions

View File

@ -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