Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Chen Qi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 0/9] initramfs and UUID support in minimal installer
Date: Mon, 16 Jun 2014 18:46:22 +0800	[thread overview]
Message-ID: <cover.1402915083.git.Qi.Chen@windriver.com> (raw)

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

-- 
1.7.9.5



             reply	other threads:[~2014-06-16 10:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16 10:46 Chen Qi [this message]
2014-06-16 10:46 ` [PATCH 1/9] initramfs-image-minimal.bb: add recipe Chen Qi
2014-06-16 10:46 ` [PATCH 2/9] initramfs-framework: fix an error in udev module Chen Qi
2014-06-16 10:46 ` [PATCH 3/9] initramfs-framework: modify the fatal behaviour in init Chen Qi
2014-06-16 10:46 ` [PATCH 4/9] initramfs-framework: fix an error in finish module Chen Qi
2014-06-16 10:46 ` [PATCH 5/9] kernel.bbclass: also install the bundled kernel to STAGING_KERNEL_DIR Chen Qi
2014-06-16 10:46 ` [PATCH 6/9] bootimg.bbclass: take initramfs into consideration Chen Qi
2014-06-16 10:46 ` [PATCH 7/9] initramfs-live-install: rdepend on util-linux-blkid Chen Qi
2014-06-16 10:46 ` [PATCH 8/9] busybox: enable uuid support by default Chen Qi
2014-06-16 10:46 ` [PATCH 9/9] init-install.sh: add support for installing initramfs onto the target Chen Qi
2015-01-12  3:16 ` [PATCH 0/9] initramfs and UUID support in minimal installer ChenQi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1402915083.git.Qi.Chen@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox