enhancing images, booting and runqemu
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | runqemu: support full-disk imagesscripts/ scripts/ | +19 | 0 replies | |
| 2/10 | initrdscripts: create /dev/consolemeta/ meta/ | +9 | 1 reply | |
| 3/10 | initramfs-framework: handle kernel parameters with . insidemeta/ | +2 | 1 reply | |
| 4/10 | initramfs-framework: add separate init_verbose log level parametermeta/ | +14 | 3 replies | |
| 5/10 | initramfs-framework: support mounting rootfs in modulesmeta/ | +19 | 4 replies | |
| 6/10 | initramfs-framework: support live imagesmeta/ meta/ | +140 | 0 replies | |
| 7/10 | image-vm.bbclass: avoid duplicating syslinux default valuesmeta/ | +0 | 0 replies | |
| 8/10 | image-vm.bbclass: support specifying an initramfsmeta/ | +5 | 0 replies | |
| 9/10 | boot loader: support root=UUIDmeta/ meta/ meta/ +1 more | +36 | 0 replies | |
| 10/10 | boot-directdisk.bbclass: use rootfs UUID by defaultmeta/ | +1 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Otavio Salvador |
|---|---|
| 1/10 | |
| 2/10 | |
| 3/10 | A-b |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] enhancing images, booting and runqemu
I've spent some time lately on building custom full-disk images with a custom initramfs based on the initramfs-framework. The ultimate goal is to initialize IMA in a initramfs-framework module.
As part of that work, I enhanced runqemu such that it can boot full-disk images more easily, made those images more versatile (no more hard-coded root=/dev/sda2), and solved a kernel panic that only seems to appear under qemu (the /dev/console issue).
Only a few patches are really important (because I'd probably not be able to achieve the same effect with setting variables elsewhere):
boot loader: support root=UUID
initramfs-framework: handle kernel parameters with . inside
initramfs-framework: add separate init_verbose log level parameter
initramfs-framework: support mounting rootfs in modules
runqemu: support full-disk images
But I think the rest might also be relevant for others and thus worthwile including.
Note that the mechanism for root=UUID is separated from actually making that default. Changing the default this late in the development cycle might be a bit risky, so I'd be fine with leaving out the last patch which changes the default. On the other hand, it solves one potential snag for users of these images, so it might be better to include it - your choice.
The following changes since commit bdeb32b4cdbe316f17c2fd854d59e05e8f2e8ffc:
rt-tests: drop unnecessary added-missing-dependencies.patch (2015-09-01 11:43:38 +0100)
are available in the git repository at:
git://github.com/pohly/openembedded-core booting
https://github.com/pohly/openembedded-core/tree/booting
Patrick Ohly (10):
runqemu: support full-disk images
initrdscripts: create /dev/console
initramfs-framework: handle kernel parameters with . inside
initramfs-framework: add separate init_verbose log level parameter
initramfs-framework: support mounting rootfs in modules
initramfs-framework: support live images image-vm.bbclass: avoid duplicating syslinux default values image-vm.bbclass: support specifying an initramfs
boot loader: support root=UUID
boot-directdisk.bbclass: use rootfs UUID by default
meta/classes/boot-directdisk.bbclass | 2 +- meta/classes/fs-uuid.bbclass | 24 ++++ meta/classes/grub-efi.bbclass | 4 + meta/classes/gummiboot.bbclass | 4 + meta/classes/image-vm.bbclass | 7 +- meta/classes/syslinux.bbclass | 5 +- .../initrdscripts/initramfs-framework/finish | 33 +++--- .../initrdscripts/initramfs-framework/init | 19 ++- .../initrdscripts/initramfs-framework/live | 131 +++++++++++++++++++++ .../initrdscripts/initramfs-framework_1.0.bb | 16 ++- .../initrdscripts/initramfs-live-boot_1.0.bb | 4 +- scripts/runqemu | 24 ++-- scripts/runqemu-internal | 10 +- 13 files changed, 245 insertions(+), 38 deletions(-) create mode 100644 meta/classes/fs-uuid.bbclass create mode 100644 meta/recipes-core/initrdscripts/initramfs-framework/live
Signature · 1 line
2.1.4