diff options
Diffstat (limited to 'meta/classes/image-artifact-names.bbclass')
-rw-r--r-- | meta/classes/image-artifact-names.bbclass | 15 |
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 | |||
5 | IMAGE_BASENAME = "${PN}" | ||
6 | IMAGE_VERSION_SUFFIX = "-${DATETIME}" | ||
7 | IMAGE_VERSION_SUFFIX[vardepsexclude] += "DATETIME" | ||
8 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | ||
9 | IMAGE_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.). | ||
15 | IMAGE_NAME_SUFFIX ??= ".rootfs" | ||