All of lore.kernel.org
 help / color / mirror / Atom feed
* [v2] [PATCH 0/7] wic:allow wic compile as an individual package
@ 2018-08-31  2:15 Jiang Lu
  2018-08-31  2:15 ` [PATCH 1/7] wic:enable wic compile as " Jiang Lu
                   ` (7 more replies)
  0 siblings, 8 replies; 28+ messages in thread
From: Jiang Lu @ 2018-08-31  2:15 UTC (permalink / raw)
  To: lu.jiang, openembedded-core


[V2]
Rebase patch to latest oe-core commmit.

[V1 log]
This patch set intend to allow wic compile as an individual package, then it can run both on host & target side.

On host, it invoke by image_type_wic.bbclass to as a native tool to generate wic image.

Patch 1-4 make wic compile as a native tool.

On trarget, it parse wks file, and use current rootfs & /boot folder to generated a new wic image on target.

Patch 5-6 fix a few minor issue on target. 

The patch is validate with mkefidisk.wks from oe-core layer on intel x86 platform.

Assume /dev/sda2 is root device, then with following command, use could generate a new wic image

	$mount /dev/sda2 /tmp/sda
	$wic create /root/mkefidisk.wks  -k /boot -r /tmp/sda -o /tmp/ 

The generated image is under /tmp with name mkefidisk-xxx-sda.direct. Then user may dump this file into another booting deivce.


Thanks
Jiang Lu


^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCH 0/7] wic:allow wic compile as an individual package
@ 2018-08-30 10:01 Jiang Lu
  2018-08-30 10:01 ` [PATCH 5/7] wic:direct:remove same entry when updating fstab Jiang Lu
  0 siblings, 1 reply; 28+ messages in thread
From: Jiang Lu @ 2018-08-30 10:01 UTC (permalink / raw)
  To: lu.jiang, openembedded-core


This patch set intend to allow wic compile as an individual package, then it can run both on host & target side.

On host, it invoke by image_type_wic.bbclass to as a native tool to generate wic image.

Patch 1-4 make wic compile as a native tool.

On trarget, it parse wks file, and use current rootfs & /boot folder to generated a new wic image on target.

Patch 5-6 fix a few minor issue on target. 

The patch is validate with mkefidisk.wks from oe-core layer on intel x86 platform.

Assume /dev/sda2 is root device, then with following command, use could generate a new wic image

	$mount /dev/sda2 /tmp/sda
	$wic create /root/mkefidisk.wks  -k /boot -r /tmp/sda -o /tmp/ 

The generated image is under /tmp with name mkefidisk-xxx-sda.direct. Then user may dump this file into another booting deivce.


Thanks
Jiang Lu


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

end of thread, other threads:[~2018-09-07 12:19 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31  2:15 [v2] [PATCH 0/7] wic:allow wic compile as an individual package Jiang Lu
2018-08-31  2:15 ` [PATCH 1/7] wic:enable wic compile as " Jiang Lu
2018-08-31  2:15 ` [PATCH 2/7] wic:move wic src into meta/receipt-support/wic Jiang Lu
2018-08-31 13:53   ` Tom Rini
2018-09-03  1:58     ` Lu.Jiang
2018-09-03  2:50       ` Tom Rini
2018-09-03 15:14         ` Tim Orling
2018-09-04  2:10           ` Lu.Jiang
2018-08-31  2:15 ` [PATCH 3/7] image_type_wic:add wic-native into depend Jiang Lu
2018-08-31  2:15 ` [PATCH 4/7] wic:allow wic run outof bb enviroment Jiang Lu
2018-08-31  2:15 ` [PATCH 5/7] wic:direct:remove same entry when updating fstab Jiang Lu
2018-08-31 13:54   ` Tom Rini
2018-09-03  2:00     ` Lu.Jiang
2018-09-03  2:51       ` Tom Rini
2018-08-31  2:15 ` [PATCH 6/7] wic:bootimg-efi:try other place for efi Jiang Lu
2018-08-31 13:52   ` Tom Rini
2018-09-03  2:01     ` Lu.Jiang
2018-09-04  2:15       ` Lu.Jiang
2018-09-04  2:26         ` Tom Rini
2018-09-04  2:33           ` Lu.Jiang
2018-09-05  0:33             ` Tom Rini
2018-09-05  2:32               ` Lu.Jiang
2018-09-05 13:41                 ` Tom Rini
2018-08-31  2:15 ` [PATCH 7/7] wic:mkefidisk:add use-uuid for all partitions Jiang Lu
2018-08-31 13:55   ` Tom Rini
2018-09-07  3:02 ` [v2] [PATCH 0/7] wic:allow wic compile as an individual package Lu.Jiang
2018-09-07 12:19   ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2018-08-30 10:01 Jiang Lu
2018-08-30 10:01 ` [PATCH 5/7] wic:direct:remove same entry when updating fstab Jiang Lu

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.