[poky] Packaging error for custom kernel in thud

Connor Imes cimes at isi.edu
Tue Jan 8 14:41:51 PST 2019


The same problem appeared when I tried sumo instead, but I finally tracked it down.  The issue turned out to be in our machine config file, which raises follow-up questions.

We were previously using multiple values for KERNEL_IMAGETYPE (Image and Image.gz), but this now causes the aforementioned problem.  So is KERNEL_IMAGETYPE intended to support a list of values, making this a regression, or was it a quirk that allowed it to work before?

The documentation, plus the existence of a KERNEL_ALT_IMAGETYPE variable, seems to indicate that these variables can have only a single value.  But why the limitation?  I can see in the sources there is a KERNEL_IMAGETYPES (note the trailing S) variable, but this could not be set from the machine conf file.

Thanks,
-Connor

From: <poky-bounces at yoctoproject.org> on behalf of Connor Imes <cimes at isi.edu>
Date: Monday, January 7, 2019 at 11:17 AM
To: "poky at yoctoproject.org" <poky at yoctoproject.org>
Subject: [poky] Packaging error for custom kernel in thud

Hi folks,

We build a customized linux kernel for our project and are looking to upgrade from rocko to thud.  I haven’t been able to figure out the following error(s):

ERROR: linux-hpsc-4.14.0+gitAUTOINC+7b91778704-r0 do_package: QA Issue: kernel-image-image is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
ERROR: linux-hpsc-4.14.0+gitAUTOINC+7b91778704-r0 do_package: QA Issue: kernel-image-image.gz is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
ERROR: linux-hpsc-4.14.0+gitAUTOINC+7b91778704-r0 do_package: Fatal QA errors found, failing task.
ERROR: linux-hpsc-4.14.0+gitAUTOINC+7b91778704-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/cimes/hpsc/hpsc-bsp/hpsc/poky/build/tmp/work/hpsc_chiplet-poky-linux/linux-hpsc/4.14.0+gitAUTOINC+7b91778704-r0/temp/log.do_package.56802
ERROR: Task (/home/cimes/hpsc/hpsc-bsp/hpsc/meta-hpsc/meta-hpsc-bsp/recipes-kernel/linux/linux-hpsc_4.14.bb:do_package) failed with exit code '1'

I don’t know where else these packages would be specified from.  Our kernel recipe is pretty simple, I’m essentially following the linux-yocto-custom.bb recipe to point toward our linux fork, additionally using our in-tree defconfig:

KCONFIG_MODE = "--alldefconfig"
KBUILD_DEFCONFIG_hpsc-chiplet = "hpsc_defconfig"

Thanks in advance for your help,
-Connor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20190108/5543f9cc/attachment.html>


More information about the poky mailing list