wic:allow wic compile as an individual package
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 19 repliesIn review
- v17 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | wic:enable wic compile as individual packagemeta/ meta/ | +42 | 0 replies | |
| 2/7 | wic:move wic src into meta/receipt-support/wicmeta/ meta/ meta/ +29 more | +5825 | 5 replies | |
| 3/7 | image_type_wic:add wic-native into dependmeta/ | +1 | 0 replies | |
| 4/7 | wic:allow wic run outof bb enviroment.meta/ meta/ meta/ +2 more | +70 | 0 replies | |
| 5/7 | wic:direct:remove same entry when updating fstabmeta/ | +3 | 3 replies | |
| 6/7 | wic:bootimg-efi:try other place for efimeta/ | +12 | 8 replies | |
| 7/7 | wic:mkefidisk:add use-uuid for all partitionsscripts/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [v2] [PATCH 0/7] wic:allow wic compile as an individual package
[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