From a54ec44013da952ff6a0e1bdbafe831e57514789 Mon Sep 17 00:00:00 2001 From: Jason McKenna Date: Fri, 19 Oct 2018 15:48:36 -0400 Subject: [PATCH] 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 --- build-tools/build-iso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/build-iso b/build-tools/build-iso index e1427b9b..4302ed0a 100755 --- a/build-tools/build-iso +++ b/build-tools/build-iso @@ -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)