Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
meta-ostro-bsp: image_types_edison: Use correct image name in PhoneFl…
Browse files Browse the repository at this point in the history
…ash tool

Include correct image name in meta-data file used by Windows
PhoneFlash tool.

Fixes: ostro-os issue #62

(From meta-ostro-bsp rev: de634fdbc44d5bb46e4bc0406f7e383a4419a8ac)

Signed-off-by: Alexander Kanevskiy <[email protected]>
  • Loading branch information
kad authored and ostroproject-ci committed May 18, 2016
1 parent ff0981d commit dc10aad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ IMAGE_CMD_toflash () {
install ${DEPLOY_DIR_IMAGE}/flashall/helper/helper.html ${WORKDIR}/toFlash/helper/
install ${DEPLOY_DIR_IMAGE}/flashall/helper/images/*.png ${WORKDIR}/toFlash/helper/images/

# update image name inside flashall.sh
# update image names inside flashing tools
sed -e "s/^IMAGE_NAME=.\+$/IMAGE_NAME=\"${IMAGE_BASENAME}\"/" -i ${WORKDIR}/toFlash/flashall.sh
sed -e "s/^set IMAGE_NAME=.\+$/set IMAGE_NAME=${IMAGE_BASENAME}/" -i ${WORKDIR}/toFlash/flashall.bat
sed -e "s/\"edison-image-edison\./\"${IMAGE_BASENAME}-edison./" -i ${WORKDIR}/toFlash/FlashEdison.json

# generate a formatted list of all packages included in the image
awk '{print $1 " " $3}' ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest > ${WORKDIR}/toFlash/package-list.txt
Expand Down

0 comments on commit dc10aad

Please sign in to comment.