[OE-core] [PATCH v4 0/2] Yocto Bug #6945
He Zhe
zhe.he at windriver.com
Thu May 26 07:59:18 UTC 2016
On 05/25/2016 08:12 PM, Bruce Ashfield wrote:
>
>
> On Wed, May 25, 2016 at 4:47 AM, <zhe.he at windriver.com <mailto:zhe.he at windriver.com>> wrote:
>
> From: He Zhe <zhe.he at windriver.com <mailto:zhe.he at windriver.com>>
>
> This has been reviewed several rounds and no more comments are provided so far.
> Here is the brief history. More details can be found in the previous threads.
> Hopefully this can be merged in v2.2 m1.
>
> v1 to v2:
> - Change KERNEL_OUTPUT to KERNEL_OUTPUT_DIR and update comments
> - Update related doc files
> - Replace all KERNEL_ALT_IMAGETYPEs with KERNEL_IMAGETYPES
> - Link built vmlinuz to boot directory for reference
>
> v2 to v3:
> - Merge existing KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES in order that users can still use the old variables.
> - Run oe_rummake in a loop for every types so that we can add different configurations to them easily in the future.
> - Warn, intead of die, users if one of the types are over the size limit.
> - Remove the replacement of KERNEL_ALT_IMAGETYPE in v2.
> - Remove the doc parts. They will be submitted yocto-docs later.
> - Change some grep usage to make it more clear.
> - Correct a typo.
>
> v3 to v4:
> - Adjust according to the latest code context
>
>
>
> v4 looks ok to me.
>
> There was another series posted: [kernel-multi: stage and package multiple kernels], did
> you have a look at that one? Do these two series work properly together ?
>
These two can not work properly together for the moment. My series build multi types of
kernels. "kernel-multi" aims at building another version of kernel by optionally extending
kernel.bbclass to kernel-multi.bbclass.
If we want both of the two features, "kernel-multi" might need to be changed according to
mine, since it inherits kernel.bbclass and overrides some variables before doing its own job.
e.g. "kernel-multi" uses KERNEL_IMAGETYPE as the only kernel image type, whereas my
series use KERNEL_IMAGETYPE plus KERNEL_IMAGETYPES as bug #6945 wants.
Thanks,
Zhe
> Bruce
>
>
> The following changes since commit c7e614c438706fb3ed7520b4990ebb3973366942:
>
> useradd: Fix infinite build loop (2016-05-23 10:33:45 +0100)
>
> are available in the git repository at:
>
> git.yoctoproject.org/poky-contrib <http://git.yoctoproject.org/poky-contrib> zhe/yocto-bug-6945
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=zhe%2Fyocto-bug-6945
>
> for you to fetch changes up to 4cd0e844d4153f2eb2cc54fafbfd161341ef4539:
>
> kernel: Make symbol link to vmlinuz in boot directory (2016-05-24 22:57:35 -0400)
>
> ----------------------------------------------------------------
> He Zhe (2):
> kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
> kernel: Make symbol link to vmlinuz in boot directory
>
> meta/classes/kernel-fitimage.bbclass | 20 ++++++++-------
> meta/classes/kernel-grub.bbclass | 44 +++++++++++++++++++++-----------
> meta/classes/kernel-uimage.bbclass | 10 +++++---
> meta/classes/kernel.bbclass | 187 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------
> meta/conf/documentation.conf | 3 ++-
> meta/recipes-kernel/linux/linux-dtb.inc | 49 ++++++++++++++++++++++--------------
> meta/recipes-kernel/linux/linux-yocto.inc | 2 +-
> 7 files changed, 212 insertions(+), 103 deletions(-)
>
> He Zhe (2):
> kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
> kernel: Make symbol link to vmlinuz in boot directory
>
> meta/classes/kernel-fitimage.bbclass | 20 ++--
> meta/classes/kernel-grub.bbclass | 44 ++++---
> meta/classes/kernel-uimage.bbclass | 10 +-
> meta/classes/kernel.bbclass | 187 +++++++++++++++++++++---------
> meta/conf/documentation.conf | 3 +-
> meta/recipes-kernel/linux/linux-dtb.inc | 49 +++++---
> meta/recipes-kernel/linux/linux-yocto.inc | 2 +-
> 7 files changed, 212 insertions(+), 103 deletions(-)
>
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org <mailto:Openembedded-core at lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
More information about the Openembedded-core
mailing list