generic-poky/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
Richard Purdie b6bade27b8 initramfs-live-boot: Set RDEPENDS on the specific package that needs it
Set the RDEPENDS on the specific package that has the dependency and stop it
being applied to for example ${PN}-doc (and others).

(From OE-Core rev: 7437a864f03ff56a4fba9d8ce9baf845b945ed9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-04 16:42:47 +00:00

25 lines
573 B
BlitzBasic

DESCRIPTION = "A live image init script"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
DEPENDS = "virtual/kernel"
RDEPENDS_${PN} = "udev"
SRC_URI = "file://init-live.sh"
PR = "r11"
do_compile() {
#if grep -q "CONFIG_UNION_FS=y" ${STAGING_KERNEL_DIR}/.config; then
# sed -i 's/UNIONFS="no"/UNIONFS="yes"/g' ${WORKDIR}/init-live.sh
#fi
:
}
do_install() {
install -m 0755 ${WORKDIR}/init-live.sh ${D}/init
}
FILES_${PN} += " /init "
# Due to kernel depdendency
PACKAGE_ARCH = "${MACHINE_ARCH}"