Patchwork [0/9] initramfs and UUID support in minimal installer

mail settings
Date June 16, 2014, 10:46 a.m.
Message ID <>
Download mbox
Permalink /patch/73847/
State New
Headers show


git:// ChenQi/initramfs-uuid

Comments - June 16, 2014, 10:46 a.m.
The purpose of this patchset is to add initramfs and UUID support for our minimal installer.

Previously, the installed image may not be able to boot up because we use the hardcoded disk

To reproduce, use the following commands.
1. Enable live image types and build out the minimal installer.
2. runqemu qemux86 iso qemuparams="-hdb target-disk"
3. qemu-system-i386 -hda target-disk

We can see that the installed target cannot boot up correctly.

This patchset fixes this problem so that when executing the above commands, the target can
still correctly boot up as long as we configure in local.conf or some other distro config files
to select image-initramfs-minimal as the INITRAMFS_IMAGE.

//Chen Qi

The following changes since commit 12bab2d828836c8926f753caff80b61dbe6390a5:

  alsa-tools: Add missing pkgconfg dependency (2014-06-14 08:45:47 +0100)

are available in the git repository at:

  git:// ChenQi/initramfs-uuid

Chen Qi (9): add recipe
  initramfs-framework: fix an error in udev module
  initramfs-framework: modify the fatal behaviour in init
  initramfs-framework: fix an error in finish module
  kernel.bbclass: also install the bundled kernel to STAGING_KERNEL_DIR
  bootimg.bbclass: take initramfs into consideration
  initramfs-live-install: rdepend on util-linux-blkid
  busybox: enable uuid support by default add support for installing initramfs onto the target

 meta/classes/bootimg.bbclass                       |    7 ++-
 meta/classes/kernel.bbclass                        |    1 +
 meta/recipes-core/busybox/busybox/defconfig        |   38 +++++++--------
 .../recipes-core/images/ |   19 ++++++++
 .../initrdscripts/files/            |   49 ++++++++++++++++----
 .../initrdscripts/initramfs-framework/finish       |    4 +-
 .../initrdscripts/initramfs-framework/init         |    5 +-
 .../initrdscripts/initramfs-framework/udev         |    1 +
 .../initrdscripts/    |    2 +-
 9 files changed, 89 insertions(+), 37 deletions(-)
 create mode 100644 meta/recipes-core/images/