summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Wesp <n.wesp@phytec.de>2020-02-06 10:41:36 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2020-02-06 16:48:59 (GMT)
commit1a64e185fcb7e05e3fcece357601ed7b6f682eb6 (patch)
tree5fcd01a11472fcc140a4d0b1a4cd3d60ee3d652b
parent0cd1c0bcc266291850de0c1506b6e4afd5f0edc3 (diff)
downloadmeta-phytec-master.zip
meta-phytec-master.tar.bz2
classes: fitimage.bbclass: Image/Kernel Artifact Naming ChangesHEADmaster
With thud name variables (e.g. IMAGE_NAME) use a new IMAGE_VERSION_SUFFIX variable instead of DATETIME. Within commit 'b763d82f2502da2c4a7563177621f824a3428a6e' I missed this file. Signed-off-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--classes/fitimage.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/fitimage.bbclass b/classes/fitimage.bbclass
index e034fd9..90f0010 100644
--- a/classes/fitimage.bbclass
+++ b/classes/fitimage.bbclass
@@ -337,17 +337,17 @@ addtask fitimagebundle after do_configure before do_build
inherit deploy
-do_deploy[vardepsexclude] += "DATETIME"
+do_deploy[vardepsexclude] += "IMAGE_VERSION_SUFFIX"
do_deploy() {
# Update deploy directory
install -d ${DEPLOYDIR}
- its_base_name="${PN}-${PV}-${PR}-${MACHINE}-${DATETIME}"
+ its_base_name="${PN}-${PV}-${PR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
its_symlink_name="${PN}-${MACHINE}"
printf 'Copying fit-image.its source file...'
install -m 0644 ${S}/manifest.its ${DEPLOYDIR}/${its_base_name}.its
- linux_bin_base_name="${PN}-${PV}-${PR}-${MACHINE}-${DATETIME}"
+ linux_bin_base_name="${PN}-${PV}-${PR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
linux_bin_symlink_name="${PN}-${MACHINE}"
printf 'Copying linux.bin file...'
install -m 0644 ${B}/fitImage ${DEPLOYDIR}/${linux_bin_base_name}.fitimg