Skip to content

initrd contamination and explict PATH

Darren Hart openembedded-core 1 version Applied

Status from this message: Merged to master but I had to add PR bumps for the script PATH changes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Set an explicit path for the initrd scriptsmeta/recipes-core/initrdscripts/files/init-boot.sh meta/recipes-core/initrdscripts/files/init-install.sh meta/recipes-core/initrdscripts/files/init-live.sh+7 -10 replies
2/2Prevent IMAGE_FEATURES from contaminating initrdmeta/recipes-core/images/core-image-minimal-initramfs.bb+3 -00 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/2] initrd contamination and explict PATH

I ran into a bit of a nasty issue where EXTRA_IMAGE_FEATURES set in my local.conf was causing core-image-initramfs to pull a bunch of files into my initrd, including bash and a 100+MB vmlinux image. The 85M initrd caused some strange initial boot behavior, and bash in the initrd caused our init scripts to fail as bash has a different default PATH than busybox.

The following patches address these issues.

Live boot tested on 32 bit x86.

The following changes since commit bb4a5c44da23a1bb363f1f081cf1644fd7975957:

linux-yocto: remove emenlow from meta-yocto bbappend (2.6.37 version) (2011-09-15 11:27:22 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/initrdscripts
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/initrdscripts

Darren Hart (2):
Set an explicit path for the initrd scripts Prevent IMAGE_FEATURES from contaminating initrd

 .../images/core-image-minimal-initramfs.bb         |    3 +++
 meta/recipes-core/initrdscripts/files/init-boot.sh |    2 ++
 .../initrdscripts/files/init-install.sh            |    2 ++
 meta/recipes-core/initrdscripts/files/init-live.sh |    4 +++-
 4 files changed, 10 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6