Openembedded Core Discussions
 help / color / mirror / Atom feed
From: He Zhe <zhe.he@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v4 0/2] Yocto Bug #6945
Date: Thu, 26 May 2016 15:59:18 +0800	[thread overview]
Message-ID: <5746ACD6.3010503@windriver.com> (raw)
In-Reply-To: <CADkTA4N95b3-HCGzgq3bU4mSbDEQQiejR6Uy0Pth1_NE9AZSuA@mail.gmail.com>



On 05/25/2016 08:12 PM, Bruce Ashfield wrote:
>
>
> On Wed, May 25, 2016 at 4:47 AM, <zhe.he@windriver.com <mailto:zhe.he@windriver.com>> wrote:
>
>     From: He Zhe <zhe.he@windriver.com <mailto:zhe.he@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@lists.openembedded.org <mailto:Openembedded-core@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"



  reply	other threads:[~2016-05-26  7:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  8:47 [PATCH v4 0/2] Yocto Bug #6945 zhe.he
2016-05-25  8:47 ` [PATCH 1/2 v4] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time zhe.he
2016-05-31 11:36   ` Herve Jourdain
2016-05-31 12:00   ` Herve Jourdain
2016-05-25  8:47 ` [PATCH 2/2 v4] kernel: Make symbol link to vmlinuz in boot directory zhe.he
2016-05-25 12:12 ` [PATCH v4 0/2] Yocto Bug #6945 Bruce Ashfield
2016-05-26  7:59   ` He Zhe [this message]
2016-05-30  6:28 ` He Zhe
  -- strict thread matches above, loose matches on Subject: below --
2016-05-12  9:48 zhe.he
2016-05-19  7:40 ` He Zhe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5746ACD6.3010503@windriver.com \
    --to=zhe.he@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox