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:18 (GMT)
commit6890a066357fd52e1259bf00ae0fe5e61ec4e792 (patch)
tree2bc83ebea3c382d218c21b531903f199e7fe026a
parent966297cafd22a7e5be1919c4bcc87908d2499260 (diff)
downloadmeta-phytec-thud.zip
meta-phytec-thud.tar.bz2
classes: fitimage.bbclass: Image/Kernel Artifact Naming Changesthud
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