aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
AgeCommit message (Collapse)Author
2011-09-16Set an explicit path for the initrd scriptsDarren Hart
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 Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16initramfs-live-install: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15initramfs-live-install: add support for grub2Tom Zanussi
grub2 needs a different set of install steps from grub 0.97. This adds them to init-install.sh and adds an install-time check that determines which version is being used and which steps to use depending on the version of grub selected. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-09-07initramfs-live-install: Be consistent with grub.Lianhao Lu
[YOCTO #1428] Because the underlying grub 0.97 the initramfs-live-install RDEPDNEDS on only supports 32bit x86 target, set the COMPATIBLE_HOST accordingly. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-06-13initrdscripts: Inhibit compiler/libc dependencies as this is just a ↵Richard Purdie
configuration file Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-09initramfs-live-install: comment out allarch inherit to resolve no providerTom Zanussi
initramfs-live-install is only compatible with i.86|x86_64 so shouldn't inherit 'allarch'. This comments it out. More specifically, commit 52295fa3deef3b0374b99829626d524cefae6001 (Improve handling of 'all' architecture recipes and their interaction with sstate) sets TARGET_ARCH which due to the COMPATIBLE_HOST setting in the recipe causes it to be skipped and gives the following error for any -live build: NOTE: Resolving any missing task queue dependencies NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing... Missing or unbuildable dependency chain was: ['initramfs-live-install'] ERROR: Required build target 'core-image-sato-live' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-sato-live', 'core-ima\ ge-minimal-initramfs', 'initramfs-live-install'] ERROR: Nothing RPROVIDES 'initramfs-live-install' Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Commented out with explaination instead of remove Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-31Improve handling of 'all' architecture recipes and their interaction with sstateRichard Purdie
The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic with sstate since there are a variety of variables which have target specific values and the sstate package therefore correctly changes signature depending on the MACHINE setting. This patch creates a new "allarch" class which sets: PACKAGE_ARCH = "all" (as per the existing convention) INHIBIT_DEFAULT_DEPS = "1" (since its not target specific and therefore can't depend on the cross compiler or target libc) TARGET_ARCH = "all" TARGET_OS = "linux" TARGET_CC_ARCH = "none" (since these variables shouldn't change between the different packages and target compiler flags shouldn't be getting used) PACKAGE_EXTRA_ARCHS = "" (since we shouldn't be depending on any architecture specific package architectures) Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure checks on the compiler. This means they have target specific components and therefore the "all" classification is incorrect. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Replace POKYBASE with COREBASERichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-10Correct DESCRIPTION typos in various recipesDarren Hart
An investigation into undocumented variables uncovered a few mispellings of the variable DESCRIPTION. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2010-12-06initramfs-live-install:Add license checksum to bb fileMei Lei
Add COPYING.MIT file checksum to bb file Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>