All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] add wic based image installer
@ 2019-05-08  6:40 chee.yang.lee
  2019-05-08  6:40 ` [PATCH 1/4] wic: add new installer-partition plugin chee.yang.lee
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: chee.yang.lee @ 2019-05-08  6:40 UTC (permalink / raw)
  To: openembedded-core

From: Chee Yang Lee <chee.yang.lee@intel.com>

Existing installable image (hddimg/ISO) has limit of 4GB size, so to build larger installable image, we can build it in wic based image.

2 partition needed for installable image
 - first partition build using source plugin bootimg-efi and configure to run install
 - second partition build with root.img, systemd-boot and kernel to be install on target machine (this partition build using new source plugin installer-partition)

These patches:
 - add new source plugin for second partition
 - add new .wks
 - add new wic dependency and set default value for required variable
 - allow source plugin bootimg-efi to configure to install


To build the image, set WKS_FILE="wic-installer.wks.in" in local.conf.


Chee Yang Lee (4):
  wic: add new installer-partition plugin
  wic: bootimg-efi: add label source parameter
  wic: add new wic-installer.wks for wic based image installer
  image_types_wic: add dependency for wic based image installer

 meta/classes/image_types_wic.bbclass               |   6 +
 scripts/lib/wic/canned-wks/wic-installer.wks.in    |   7 +
 scripts/lib/wic/plugins/source/bootimg-efi.py      |  20 ++-
 .../lib/wic/plugins/source/installer-partition.py  | 192 +++++++++++++++++++++
 4 files changed, 220 insertions(+), 5 deletions(-)
 create mode 100644 scripts/lib/wic/canned-wks/wic-installer.wks.in
 create mode 100644 scripts/lib/wic/plugins/source/installer-partition.py

-- 
2.7.4



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/4] add wic based image installer
@ 2019-05-16  2:23 Lee, Chee Yang
  2019-05-16  2:37 ` Tom Rini
  0 siblings, 1 reply; 13+ messages in thread
From: Lee, Chee Yang @ 2019-05-16  2:23 UTC (permalink / raw)
  To: trini; +Cc: Openembedded-core

Hi Tom, 

Would you mind to share with me how you make the installer image using wic? 

    -------- Forwarded Message --------
    From: Tom Rini <trini@konsulko.com>
    To: chee.yang.lee@intel.com
    Cc: openembedded-core@lists.openembedded.org
    Subject: Re: [OE-core] [PATCH 0/4] add wic based image installer
    Date: Wed, 15 May 2019 11:33:43 -0400
    
    On Wed, May 08, 2019 at 02:40:58PM +0800, chee.yang.lee@intel.com
    wrote:
    
    > From: Chee Yang Lee <chee.yang.lee@intel.com>
    > 
    > Existing installable image (hddimg/ISO) has limit of 4GB size, so to
    > build larger installable image, we can build it in wic based image.
    > 
    > 2 partition needed for installable image
    >  - first partition build using source plugin bootimg-efi and
    > configure to run install
    >  - second partition build with root.img, systemd-boot and kernel to
    > be install on target machine (this partition build using new source
    > plugin installer-partition)
    > 
    > These patches:
    >  - add new source plugin for second partition
    >  - add new .wks
    >  - add new wic dependency and set default value for required variable
    >  - allow source plugin bootimg-efi to configure to install
    > 
    > 
    > To build the image, set WKS_FILE="wic-installer.wks.in" in
    > local.conf.
    
    I'm confused as to why we need most of these changes to support the end
    goal.  The enhancement to bootimg-efi makes conceptual sense.  I don't
    see why we need a new plugin to do the rest, however.  What's being
    done
    here that we don't already do today?  I say this having made installer
    images for EFI machines using wic (in sumo, even).  Thanks!
    
    -- 
    Tom
    -- 
    _______________________________________________
    Openembedded-core mailing list
    Openembedded-core@lists.openembedded.org
    http://lists.openembedded.org/mailman/listinfo/openembedded-core
    
    


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-05-21 14:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08  6:40 [PATCH 0/4] add wic based image installer chee.yang.lee
2019-05-08  6:40 ` [PATCH 1/4] wic: add new installer-partition plugin chee.yang.lee
2019-05-08  6:41 ` [PATCH 2/4] wic: bootimg-efi: add label source parameter chee.yang.lee
2019-05-08  6:41 ` [PATCH 3/4] wic: add new wic-installer.wks for wic based image installer chee.yang.lee
2019-05-08  6:41 ` [PATCH 4/4] image_types_wic: add dependency " chee.yang.lee
2019-05-15 15:33 ` [PATCH 0/4] add " Tom Rini
2019-05-16  1:31 ` Lee, Chee Yang
2019-05-16  2:23 Lee, Chee Yang
2019-05-16  2:37 ` Tom Rini
2019-05-16 11:48   ` Lee, Chee Yang
2019-05-16 12:19     ` Tom Rini
2019-05-21  7:46       ` Lee, Chee Yang
2019-05-21 14:13         ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.