2010-12-10 18:52:04 +00:00
|
|
|
DESCRIPTION = "A live image init script"
|
2010-06-12 05:12:36 +00:00
|
|
|
LICENSE = "MIT"
|
2011-04-20 15:56:03 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
2011-10-11 19:18:50 +00:00
|
|
|
RDEPENDS = "udev"
|
2012-04-11 01:33:43 +00:00
|
|
|
DEPENDS = "virtual/kernel"
|
2008-09-10 21:21:23 +00:00
|
|
|
SRC_URI = "file://init-live.sh"
|
|
|
|
|
2012-11-12 16:18:35 +00:00
|
|
|
PR = "r11"
|
2008-09-10 21:21:23 +00:00
|
|
|
|
2012-04-11 01:33:43 +00:00
|
|
|
do_compile() {
|
2012-04-22 14:47:30 +00:00
|
|
|
#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
|
|
|
|
:
|
2012-04-11 01:33:43 +00:00
|
|
|
}
|
|
|
|
|
2008-09-10 21:21:23 +00:00
|
|
|
do_install() {
|
|
|
|
install -m 0755 ${WORKDIR}/init-live.sh ${D}/init
|
|
|
|
}
|
|
|
|
|
|
|
|
FILES_${PN} += " /init "
|
2012-04-11 01:33:43 +00:00
|
|
|
|
|
|
|
# Due to kernel depdendency
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|