summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-artifact-names.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image-artifact-names.bbclass')
-rw-r--r--meta/classes/image-artifact-names.bbclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/classes/image-artifact-names.bbclass b/meta/classes/image-artifact-names.bbclass
new file mode 100644
index 0000000000..5ab8f1b7aa
--- /dev/null
+++ b/meta/classes/image-artifact-names.bbclass
@@ -0,0 +1,15 @@
1##################################################################
2# Specific image creation and rootfs population info.
3##################################################################
4
5IMAGE_BASENAME = "${PN}"
6IMAGE_VERSION_SUFFIX = "-${DATETIME}"
7IMAGE_VERSION_SUFFIX[vardepsexclude] += "DATETIME"
8IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
9IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
10
11# IMAGE_NAME is the base name for everything produced when building images.
12# The actual image that contains the rootfs has an additional suffix (.rootfs
13# by default) followed by additional suffices which describe the format (.ext4,
14# .ext4.xz, etc.).
15IMAGE_NAME_SUFFIX ??= ".rootfs"