[OE-core] [PATCH v9] kernel: Add support for multiple kernel packages
Haris Okanovic
haris.okanovic at ni.com
Wed Dec 13 19:39:58 UTC 2017
I rebased the patch to latest master (openembedded-core commit cf5c44ac)
and still can't reproduce what you're seeing. I can see a /boot/bzImage
symlink in both buildHistory [1] and the IPK [2].
Are you using the same source? It seems like your kernel version is
4.12.16 but linux-yocto is at 4.12.14 in master.
Could you send me the output of `bitbake -e virtual/kernel`? The only
case where /boot/bzImage should be missing is when
"${KERNEL_PACKAGE_NAME}" != "kernel". Search for an `ln -sf ...` call in
kernel_do_install() to see the logic.
[1]
> $ cat buildhistory/packages/qemux86-oe-linux/linux-yocto/kernel-image-bzimage/files-in-package.txt
> drwxr-xr-x root root 4096 ./boot
> -rw-r--r-- root root 7016320 ./boot/bzImage-4.12.14-yocto-standard
> lrwxrwxrwx root root 30 ./boot/bzImage -> bzImage-4.12.14-yocto-standard
[2]
> $ tar -tvf data.tar.gz
> drwxrwxrwx root/root 0 2017-12-13 13:34 ./
> drwxr-xr-x root/root 0 2017-12-13 13:34 ./boot/
> lrwxrwxrwx root/root 0 2017-12-13 13:34 ./boot/bzImage -> bzImage-4.12.14-yocto-standard
> -rw-r--r-- root/root 7016320 2017-12-13 13:33 ./boot/bzImage-4.12.14-yocto-standard
-- Haris
On 12/13/2017 06:31 AM, Burton, Ross wrote:
> On 12 December 2017 at 22:19, Haris Okanovic <haris.okanovic at ni.com
> <mailto:haris.okanovic at ni.com>> wrote:
>
> I can see a reference to "/boot/bzImage" in both buildhistory and
> tmp-glibc/work/.../pkgdata [1] after running a clean rebuild of
> virtual/kernel [2].
>
> [1] file paths:
>
> "buildhistory/packages/qemux86-oe-linux/linux-yocto/kernel-image-bzimage/files-in-package.txt"
>
> "tmp-glibc/work/qemux86-oe-linux/linux-yocto/4.12.12+gitAUTOINC+eda4d18ce4_16de014967-r0/pkgdata/runtime/kernel-image-bzimage"
>
> [2] clean rebuild command:
> bitbake -c cleanall virtual/kernel
> bitbake virtual/kernel
>
> Which file are you diffing? Could you share the full path?
>
>
> If I build a qemux86 virtual/kernel without and with this patch and then
> run buildhistory-diff:
>
> packages/qemux86-poky-linux/linux-yocto/kernel-image-bzimage: FILELIST:
> removed "/boot/bzImage"
> packages/qemux86-poky-linux/linux-yocto/kernel-image-bzimage: PKGSIZE
> changed from 7020062 to 7020032 (0%)
>
> kernel-image-bzimage contains /boot/bzImage-4.12.16-yocto-standard but
> not the /boot/bzImage symlink:
>
> $ cat
> buildhistory/packages/qemux86-poky-linux/linux-yocto/kernel-image-bzimage/files-in-package.txt
> drwxr-xr-x root root 60 ./boot
> -rw-r--r-- root root 7020032
> ./boot/bzImage-4.12.16-yocto-standard
>
> Ross
More information about the Openembedded-core
mailing list