1#!/bin/bash 2 3set -e 4set -o xtrace 5 6############### Install packages for baremetal testing 7apt-get install -y ca-certificates 8sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list 9apt-get update 10 11apt-get install -y --no-remove \ 12 abootimg \ 13 cpio \ 14 fastboot \ 15 netcat \ 16 procps \ 17 python3-distutils \ 18 python3-minimal \ 19 python3-serial \ 20 rsync \ 21 snmp \ 22 wget 23 24# setup SNMPv2 SMI MIB 25wget https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-SMI.txt \ 26 -O /usr/share/snmp/mibs/SNMPv2-SMI.txt 27 28arch=arm64 . .gitlab-ci/container/baremetal_build.sh 29arch=armhf . .gitlab-ci/container/baremetal_build.sh 30 31# This firmware file from Debian bullseye causes hangs 32wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/qcom/a530_pfp.fw?id=d5f9eea5a251d43412b07f5295d03e97b89ac4a5 \ 33 -O /rootfs-arm64/lib/firmware/qcom/a530_pfp.fw 34