aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-debian-images
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-10-12 22:20:51 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-10-12 22:20:51 +0200
commitab3543854d1f2a43f169d3334523690e6e860993 (patch)
tree0b199821b2b1327ad5ec613dc362f3da8db83774 /lt-qcom-debian-images
parent0237b11a00246d7de0232243e0b239e80ae6dff7 (diff)
lt-qcom-debian-images-dragonboard820c: fix errors
* vmlinuz is exported as Image.gz * BOARD CLASS was set to 410c instead of 820c * also removed un-needed code since we no longer mount the image locally Change-Id: Ibeef7243b532117a945024c611bdffe9548190d5 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-debian-images')
-rw-r--r--lt-qcom-debian-images/builders-fai.sh16
1 files changed, 3 insertions, 13 deletions
diff --git a/lt-qcom-debian-images/builders-fai.sh b/lt-qcom-debian-images/builders-fai.sh
index f14ccf1649..d19a4631da 100644
--- a/lt-qcom-debian-images/builders-fai.sh
+++ b/lt-qcom-debian-images/builders-fai.sh
@@ -2,16 +2,6 @@
set -e
-trap cleanup_exit INT TERM EXIT
-
-cleanup_exit()
-{
- # cleanup here, only in case of error in this script
- # normal cleanup deferred to later
- [ $? = 0 ] && exit;
- sudo umount -f ${WORKSPACE}/rootfs || true
-}
-
if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update; then
echo "INFO: apt update error - try again in a moment"
sleep 15
@@ -30,7 +20,7 @@ set -ex
echo "$(date +%Y%m%d)-${BUILD_NUMBER}" > build-version
# Build information
-mkdir -p out rootfs
+mkdir -p out
cat > out/HEADER.textile << EOF
h4. QCOM Landing Team - $BUILD_DISPLAY_NAME
@@ -57,7 +47,7 @@ for rootfs in ${ROOTFS}; do
if [ -f MD5SUM ]; then
md5sum -c MD5SUM
else
- md5sum out/{vmlinuz,initrd.img,$(basename ${DTBS})} > MD5SUM
+ md5sum out/{Image.gz,initrd.img,$(basename ${DTBS})} > MD5SUM
fi
img2simg out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img
@@ -72,7 +62,7 @@ EOF
done
# Create boot image
-cat out/vmlinuz out/$(basename ${DTBS}) > out/Image.gz+dtb
+cat out/Image.gz out/$(basename ${DTBS}) > out/Image.gz+dtb
mkbootimg \
--kernel out/Image.gz+dtb \
--ramdisk "out/initrd.img" \