summaryrefslogtreecommitdiffstats
path: root/meta-netboot/recipes-core/initramfs-netboot/initramfs-netboot_1.0.bb
blob: dd61a1ea838a96b59a2db53fd15c48dde47518ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Extremely basic live image init script"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://init.sh"

S = "${WORKDIR}"

RDEPENDS:${PN} += "nbd-client"

do_install() {
	install -dm 0755 ${D}${sysconfdir}
	touch ${D}${sysconfdir}/initrd-release
	install -dm 0755 ${D}/dev
	install -dm 0755 ${D}${sbindir}
	install -m 0755 ${WORKDIR}/init.sh ${D}${sbindir}/init
}

inherit allarch

FILES:${PN} += " /dev ${sysconfdir}/initrd-release ${sbindir}/init "