diff options
author | Kevin Hilman <khilman@baylibre.com> | 2017-06-26 22:07:35 +0000 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-06-26 22:07:40 +0000 |
commit | 4af741ce23f98760d8486ca209d98b27d03a824d (patch) | |
tree | a7ccd0861808fda65b692b3597163973df0d9afe /jjb/common | |
parent | a071b7895b5eaf1967a26a43c0d61746576edbf1 (diff) |
allow override of DEVICE_URL_PREFIX
To facilitate local testing with customized upload location,
allow override of DEVICE_URL_PREFIX. Note that this patch
does not change the default.
Change-Id: I998cb518f2288cc8f820f0dcfdb609f0845fb44b
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-run-test-prepare.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh index 36f5a7a4..b7c18cf9 100644 --- a/jjb/common/include-agl-run-test-prepare.sh +++ b/jjb/common/include-agl-run-test-prepare.sh @@ -62,7 +62,7 @@ export DEVICE_URL_PREFIX='https://download.automotivelinux.org/AGL/upload/ci/' # import device defaults. Format 'a=b' -for i in DEVICE_TYPE DEVICE_NAME DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT DEVICE_NBDROOT_COMPRESSION DEVICE_BOOT_METHOD DEVICE_BOOT_TYPE; do +for i in DEVICE_TYPE DEVICE_NAME DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT DEVICE_NBDROOT_COMPRESSION DEVICE_BOOT_METHOD DEVICE_BOOT_TYPE DEVICE_URL_PREFIX; do if grep -q $i $ENVFILE ; then X=$(grep $i $ENVFILE | sed -e "s#${i}=##g" -e "s#;.*##g") eval export ${i}=${X} |