summaryrefslogtreecommitdiff
path: root/packages/meta/slugos-imagename.bb
blob: 35578442c2875a9b0b76a4ccc93d0ac542d7aa4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is an inglorious hack to provide a package to match
# ${SLUGOS_IMAGENAME}-image
MAINTAINER = "John Bowler <jbowler@acm.org>
PN = "${SLUGOS_IMAGENAME}-image"
PV = "0"
PR = "r0"
DEPENDS = "slugos-image"
PACKAGES = ""
INHIBIT_DEFAULT_DEPS = "1"

SLUGOS_IMAGENAME ?= "slugos"

do_fetch() {
}
do_unpack() {
}
do_patch() {
}
do_configure() {
}
do_compile() {
}
do_install() {
}
do_stage() {
}
do_build() {
}

python () {
	# Don't build slugos images unless the configuration is set up
	# for an image build!
	if bb.data.getVar("SLUGOS_IMAGENAME", d, 1) == '':
		raise bb.parse.SkipPackage("absent SlugOS configuration")
}