citadel/poky/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb

21 lines
543 B
BlitzBasic

SUMMARY = "initramfs-framework module for installation option"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid"
PR = "r1"
inherit allarch
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = "file://init-install.sh"
S = "${WORKDIR}"
do_install() {
install -d ${D}/init.d
install -m 0755 ${WORKDIR}/init-install.sh ${D}/init.d/install.sh
}
FILES_${PN} = "/init.d/install.sh"