From e4fe5542a5242a62d7fc83bd24f65aeadb4d9390 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Thu, 15 Sep 2011 15:41:37 -0700 Subject: Set an explicit path for the initrd scripts If we don't set PATH, then the shell will specify one for us. Busybox adds the sbin dirs, but bash does not. I hit an issue where bash (among other things) ended up in my initrd and the boot scripts failed due to a bad default PATH. While that is a separate issue, we should not be at the mercy of the shell's default PATH. Update the initrdscripts to all specify: PATH=/sbin:/bin:/usr/sbin:/usr/bin (From OE-Core rev: 4617ae0f433876037c2c9a0dfdb5e373e7a5c77b) Signed-off-by: Darren Hart Signed-off-by: Richard Purdie --- meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb') diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb index fc35e5c9c8..793a4b799b 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://init-install.sh" -PR = "r5" +PR = "r6" RDEPENDS_${PN} = "grub parted e2fsprogs-mke2fs" -- cgit v1.2.3-54-g00ecf