generic-poky/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb

23 lines
652 B
BlitzBasic
Raw Normal View History

DESCRIPTION = "A live image init script"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://init-install.sh"
PR = "r4"
RDEPENDS="grub parted e2fsprogs-mke2fs"
do_install() {
install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh
}
# While this package maybe an allarch due to it being a
# simple script, reality is that it is Host specific based
# on the COMPATIBLE_HOST below, which needs to take precedence
#inherit allarch
FILES_${PN} = " /install.sh "
# Alternatives to grub need adding for other arch support
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"