mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 05:02:22 +02:00
This cherry-pick slipped through testing and lead to unbootable hddimg images.
This reverts commit 0140519ba1.
[ YOCTO #3634 ]
(From OE-Core rev: 3fc5923b4c8e99fe22e10fb52181c951330a12f2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
567 B
BlitzBasic
25 lines
567 B
BlitzBasic
DESCRIPTION = "A live image init script"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
RDEPENDS = "udev"
|
|
DEPENDS = "virtual/kernel"
|
|
SRC_URI = "file://init-live.sh"
|
|
|
|
PR = "r12"
|
|
|
|
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}"
|