Skip to content

initramfs and UUID support in minimal installer

Chen Qi openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9initramfs-image-minimal.bb: add recipemeta/recipes-core/images/initramfs-image-minimal.bb+19 -00 replies
2/9initramfs-framework: fix an error in udev modulemeta/recipes-core/initrdscripts/initramfs-framework/udev+1 -00 replies
3/9initramfs-framework: modify the fatal behaviour in initmeta/recipes-core/initrdscripts/initramfs-framework/init+1 -40 replies
4/9initramfs-framework: fix an error in finish modulemeta/recipes-core/initrdscripts/initramfs-framework/finish+1 -30 replies
5/9kernel.bbclass: also install the bundled kernel to STAGING_KERNEL_DIRmeta/classes/kernel.bbclass+1 -00 replies
6/9bootimg.bbclass: take initramfs into considerationmeta/classes/bootimg.bbclass+6 -10 replies
7/9initramfs-live-install: rdepend on util-linux-blkidmeta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb+1 -10 replies
8/9busybox: enable uuid support by defaultmeta/recipes-core/busybox/busybox/defconfig+19 -190 replies
9/9init-install.sh: add support for installing initramfs onto the targetmeta/recipes-core/initrdscripts/files/init-install.sh+40 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] initramfs and UUID support in minimal installer

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 names.

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://git.openembedded.org/openembedded-core-contrib ChenQi/initramfs-uuid
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/busybox-syslog

Chen Qi (9):
initramfs-image-minimal.bb: 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
init-install.sh: 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/initramfs-image-minimal.bb |   19 ++++++++
 .../initrdscripts/files/init-install.sh            |   49 ++++++++++++++++----
 .../initrdscripts/initramfs-framework/finish       |    4 +-
 .../initrdscripts/initramfs-framework/init         |    5 +-
 .../initrdscripts/initramfs-framework/udev         |    1 +
 .../initrdscripts/initramfs-live-install_1.0.bb    |    2 +-
 9 files changed, 89 insertions(+), 37 deletions(-)
 create mode 100644 meta/recipes-core/images/initramfs-image-minimal.bb
Signature · 1 line
1.7.9.5