Skip to content

Commit

Permalink
barebox: also use image suffix for barebox-flash-image and EFI
Browse files Browse the repository at this point in the history
This makes it possible to have multiple barebox packages in a BSP
without them overwriting each other's image in the deploy stage, even
when they're building an EFI image or only a barebox-flash-image.

Signed-off-by: Roland Hieber <[email protected]>
  • Loading branch information
rohieb committed Jul 8, 2021
1 parent 3da7173 commit cf06352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes-bsp/barebox/barebox.inc
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ do_deploy[vardepsexclude] = "DATETIME"
do_deploy () {
install -d ${DEPLOYDIR}
if [ -e ${B}/barebox-flash-image ]; then
install -m 644 -t ${DEPLOYDIR}/ ${B}/barebox-flash-image
install -m 644 -T ${B}/barebox-flash-image ${DEPLOYDIR}/barebox-flash-image${BAREBOX_IMAGE_SUFFIX}
fi
if [ -e ${B}/barebox.efi ]; then
install -m 644 -t ${DEPLOYDIR}/ ${B}/barebox.efi
install -m 644 -T ${B}/barebox.efi ${DEPLOYDIR}/barebox.efi${BAREBOX_IMAGE_SUFFIX}
fi
for IMAGE in ${BAREBOX_IMAGES_TO_DEPLOY}; do
if [ -e ${IMAGE} ]; then
Expand Down

0 comments on commit cf06352

Please sign in to comment.