All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] enhancing images, booting and runqemu
@ 2015-09-02 15:48 Patrick Ohly
  2015-09-02 15:48 ` [PATCH 01/10] runqemu: support full-disk images Patrick Ohly
                   ` (11 more replies)
  0 siblings, 12 replies; 32+ messages in thread
From: Patrick Ohly @ 2015-09-02 15:48 UTC (permalink / raw)
  To: openembedded-core

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

-- 
2.1.4



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

end of thread, other threads:[~2015-09-04  7:08 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02 15:48 [PATCH 00/10] enhancing images, booting and runqemu Patrick Ohly
2015-09-02 15:48 ` [PATCH 01/10] runqemu: support full-disk images Patrick Ohly
2015-09-02 15:48 ` [PATCH 02/10] initrdscripts: create /dev/console Patrick Ohly
2015-09-02 16:08   ` Otavio Salvador
2015-09-02 15:48 ` [PATCH 03/10] initramfs-framework: handle kernel parameters with . inside Patrick Ohly
2015-09-02 16:09   ` Otavio Salvador
2015-09-02 15:48 ` [PATCH 04/10] initramfs-framework: add separate init_verbose log level parameter Patrick Ohly
2015-09-02 16:16   ` Otavio Salvador
2015-09-03  6:36     ` Patrick Ohly
2015-09-03 11:50       ` Otavio Salvador
2015-09-02 15:48 ` [PATCH 05/10] initramfs-framework: support mounting rootfs in modules Patrick Ohly
2015-09-02 16:19   ` Otavio Salvador
2015-09-02 16:24     ` Otavio Salvador
2015-09-03  6:29       ` Patrick Ohly
2015-09-03 11:55         ` Otavio Salvador
2015-09-02 15:48 ` [PATCH 06/10] initramfs-framework: support live images Patrick Ohly
2015-09-02 15:48 ` [PATCH 07/10] image-vm.bbclass: avoid duplicating syslinux default values Patrick Ohly
2015-09-02 15:48 ` [PATCH 08/10] image-vm.bbclass: support specifying an initramfs Patrick Ohly
2015-09-02 15:48 ` [PATCH 09/10] boot loader: support root=UUID Patrick Ohly
2015-09-02 15:48 ` [PATCH 10/10] boot-directdisk.bbclass: use rootfs UUID by default Patrick Ohly
2015-09-02 16:28 ` [PATCH 00/10] enhancing images, booting and runqemu Otavio Salvador
2015-09-03 18:42 ` [PATCH 0/8] enhancing images, booting and runqemu, simplified version Patrick Ohly
2015-09-03 18:42   ` [PATCH 1/8] runqemu: support full-disk images Patrick Ohly
2015-09-03 18:42   ` [PATCH 2/8] initramfs-framework: create /dev/console Patrick Ohly
2015-09-03 21:34     ` Khem Raj
2015-09-04  7:08       ` Patrick Ohly
2015-09-03 18:42   ` [PATCH 3/8] initramfs-live-boot: " Patrick Ohly
2015-09-03 18:42   ` [PATCH 4/8] initramfs-framework: handle kernel parameters with . inside Patrick Ohly
2015-09-03 18:42   ` [PATCH 5/8] image-vm.bbclass: avoid duplicating syslinux default values Patrick Ohly
2015-09-03 18:42   ` [PATCH 6/8] image-vm.bbclass: support specifying an initramfs Patrick Ohly
2015-09-03 18:42   ` [PATCH 7/8] boot loader: support root=UUID Patrick Ohly
2015-09-03 18:42   ` [PATCH 8/8] boot-directdisk.bbclass: use rootfs UUID by default Patrick Ohly

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.