2020-06-07 21:03:34 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -o xtrace
|
|
|
|
|
2021-03-29 14:09:06 +01:00
|
|
|
############### Install packages for baremetal testing
|
2020-06-07 21:03:34 +01:00
|
|
|
apt-get install -y ca-certificates
|
|
|
|
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
apt-get install -y --no-remove \
|
|
|
|
abootimg \
|
|
|
|
cpio \
|
|
|
|
fastboot \
|
|
|
|
netcat \
|
2020-11-11 16:15:25 +00:00
|
|
|
procps \
|
2020-06-07 21:03:34 +01:00
|
|
|
python3-distutils \
|
|
|
|
python3-minimal \
|
|
|
|
python3-serial \
|
2020-06-03 00:14:36 +01:00
|
|
|
rsync \
|
2021-04-06 12:24:42 +01:00
|
|
|
snmp \
|
2021-03-29 14:09:06 +01:00
|
|
|
wget
|
2020-06-07 21:03:34 +01:00
|
|
|
|
2021-04-06 12:24:42 +01:00
|
|
|
# setup SNMPv2 SMI MIB
|
|
|
|
wget https://raw.githubusercontent.com/net-snmp/net-snmp/master/mibs/SNMPv2-SMI.txt \
|
|
|
|
-O /usr/share/snmp/mibs/SNMPv2-SMI.txt
|
|
|
|
|
2021-03-30 11:54:15 +01:00
|
|
|
arch=arm64 . .gitlab-ci/container/baremetal_build.sh
|
|
|
|
arch=armhf . .gitlab-ci/container/baremetal_build.sh
|
2021-03-19 11:52:35 +00:00
|
|
|
|
|
|
|
# This firmware file from Debian bullseye causes hangs
|
|
|
|
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/qcom/a530_pfp.fw?id=d5f9eea5a251d43412b07f5295d03e97b89ac4a5 \
|
|
|
|
-O /rootfs-arm64/lib/firmware/qcom/a530_pfp.fw
|