summaryrefslogtreecommitdiff
path: root/packages/meta/slugos-imagename.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meta/slugos-imagename.bb')
-rw-r--r--packages/meta/slugos-imagename.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/meta/slugos-imagename.bb b/packages/meta/slugos-imagename.bb
new file mode 100644
index 0000000000..35578442c2
--- /dev/null
+++ b/packages/meta/slugos-imagename.bb
@@ -0,0 +1,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")
+}