summaryrefslogtreecommitdiffstats
path: root/meta-netboot/conf/layer.conf
blob: d22a86446cb49d19b3eef6faac2032fdd8134b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Added for futur conditionnals tests
DISTRO_FEATURES_append = " netboot"

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
	${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "meta-netboot"
BBFILE_PATTERN_meta-netboot = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-netboot = "60"

LAYERSERIES_COMPAT_meta-netboot = "thud"
"o">= "1" do_compile[noexec] = "1" do_install() { install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service install -D -m 0755 ${WORKDIR}/${BPN}.sh ${D}${sbindir}/${BPN}.sh } FILES:${PN} += "${systemd_system_unitdir}" RDEPENDS:${PN} += "bash"