summaryrefslogtreecommitdiff
path: root/classes/image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r--classes/image.bbclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index 38e19df7eb..c1eaf9ffe2 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -1,6 +1,11 @@
inherit rootfs_${IMAGE_PKGTYPE}
+LICENSE = "MIT"
PACKAGES = ""
+RDEPENDS += "${IMAGE_INSTALL}"
+
+export IMAGE_BASENAME ?= "${PN}"
+export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}"
# We need to recursively follow RDEPENDS and RRECOMMENDS for images
do_rootfs[recrdeptask] = "do_package_write do_deploy do_populate_staging"
@@ -50,15 +55,14 @@ def get_devtable_list(d):
return str
IMAGE_POSTPROCESS_COMMAND ?= ""
+MACHINE_POSTPROCESS_COMMAND ?= ""
+ROOTFS_POSTPROCESS_COMMAND ?= ""
# some default locales
IMAGE_LINGUAS ?= "de-de fr-fr en-gb"
LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, bb.data.getVar('IMAGE_LINGUAS', d, 1).split()))}"
-ROOTFS_POSTPROCESS_COMMAND ?= ""
-MACHINE_POSTPROCESS_COMMAND ?= ""
-
do_rootfs[nostamp] = "1"
do_rootfs[dirs] = "${TOPDIR}"
do_build[nostamp] = "1"