From 0290ed81fffb842b8c499dd7c6a503d0874f82ad Mon Sep 17 00:00:00 2001 From: Benjamin Fair Date: Mon, 2 Dec 2019 16:14:22 -0800 Subject: meta-nuvoton: npcm7xx-bootblock: version the download name Rename the bootblock image as it is being downloaded to contain the current version string. Currently, all versions of the bootblock are downloaded with the same file name. This breaks mirroring and reproducibility of builds since multiple versions can't be kept in a mirror at once. (From meta-nuvoton rev: 0978a0f77c6b213770f08804d3a9ea8f96946e7e) Change-Id: I06ee856dc2f6c5b3feda11205f34fa4443347345 Signed-off-by: Benjamin Fair Signed-off-by: Brad Bishop --- meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.09.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-nuvoton/recipes-bsp/images') diff --git a/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.09.bb b/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.09.bb index 3f2178bff..22774cf65 100644 --- a/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.09.bb +++ b/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.09.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm7xx-bootblock" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" -FILENAME = "Poleg_bootblock.bin" +FILENAME = "Poleg_bootblock_${PV}.bin" S = "${WORKDIR}" @@ -20,7 +20,7 @@ SRC_URI[bin.sha256sum] = "05f71da6ebb7798679fcffdcc928fbada8f941bd8e7a374ebc8261 inherit deploy do_deploy () { - install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/ + install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/Poleg_bootblock.bin } addtask deploy before do_build after do_compile -- cgit v1.2.3