summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-06-12 09:31:41 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2014-06-12 09:31:41 +0300
commit75e7b60871d5489469c708801632cf7a1f082123 (patch)
treefdc13ef35f654b61fa452543331d67959f446421
parent754e5675bc171072333383cd88bc7b5110a62d0e (diff)
downloadlci-build-tools-75e7b60871d5489469c708801632cf7a1f082123.tar.gz
Use linaro-hwpack-replace after renaming
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rwxr-xr-xjenkins_common_lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins_common_lib b/jenkins_common_lib
index 1bc6de0..1cd53fb 100755
--- a/jenkins_common_lib
+++ b/jenkins_common_lib
@@ -175,12 +175,12 @@ build_instructions()
rm -rf linaro-image-tools
git clone http://git.linaro.org/git/ci/linaro-image-tools.git
latest_hwpack_name=`basename $hwpack_url`
- python linaro-image-tools/linaro-hwpack-replace -t ${latest_hwpack_name} -p linux-image-${kernel_release}_*.deb -r linux-image -i
- python linaro-image-tools/linaro-hwpack-replace -t ${latest_hwpack_name} -p linux-headers-${kernel_release}_*.deb -r linux-headers -i
hwpack_prefix=`echo ${latest_hwpack_name} | cut -d'_' -f-2`
hwpack_version=`date +%Y%m%d`-${BUILD_NUMBER}
hwpack_name=${hwpack_prefix}_${hwpack_version}_${kernel_debarch}_supported.tar.gz
mv ${latest_hwpack_name} ${hwpack_name}
+ python linaro-image-tools/linaro-hwpack-replace -t ${hwpack_name} -p linux-image-${kernel_release}_*.deb -r linux-image -i
+ python linaro-image-tools/linaro-hwpack-replace -t ${hwpack_name} -p linux-headers-${kernel_release}_*.deb -r linux-headers -i
echo HWPACK_NAME=${hwpack_name} >> hwpack_info
echo URL=${JOB_URL}/ws/${hwpack_name} >> hwpack_info
echo EXECUTION_TIME_IN_SEC=$(( $END - $START )) >> hwpack_info