Merge "Properly populate "upgrades" path on ISO"

This commit is contained in:
Zuul 2018-10-19 21:41:16 +00:00 committed by Gerrit Code Review
commit 24dca502e1
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ function setup_upgrades_files {
UPGRADES_DIR="$OUTPUT_DIST_DIR/isolinux/upgrades"
\rm -rf $UPGRADES_DIR
\mkdir -p $UPGRADES_DIR
\cp "$BSP_FILES_PATH/bsp-files/upgrades/*" "$UPGRADES_DIR"
\cp $BSP_FILES_PATH/upgrades/* $UPGRADES_DIR
sed -i "s/xxxSW_VERSIONxxx/${PLATFORM_RELEASE}/g" $UPGRADES_DIR/metadata.xml
chmod +x $UPGRADES_DIR/*.sh
# Write the version out (used in upgrade scripts - this is the same as SW_VERSION)