Properly populate "upgrades" path on ISO

The build-iso script was attempting to populate the "upgrades"
path of the ISO from an invalid source. This change uses the
correct source files for population of the path.

Change-Id: I28d0a762052b9dcaf0cad85d52207404e5919474
Closes-Bug: 1798890
Signed-off-by: Jason McKenna <jason.mckenna@windriver.com>
This commit is contained in:
Jason McKenna 2018-10-19 15:48:36 -04:00
parent cf4084e2e5
commit a54ec44013
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)