Commit 66a6b724 authored by Guido Günther's avatar Guido Günther

Allow to install board specific packages

We really want to switch to FAI at some point.
parent e920d21f
......@@ -82,6 +82,7 @@ apt_sources=
debootstrap_dist=
kernel_deb=
custom_package_opt=
board_packages=
while getopts ":hb:d:T:B" opt; do
case ${opt} in
......@@ -123,6 +124,7 @@ bootimg="${pureos_board}.img"
[ -n "${debootstrap_dist}" ] || debootstrap_dist="${distro}"
echo "Building ${bootimg} (board_type: ${board_type}, arch: ${arch}, build_type: ${build_type}, ci_pkgs: ${ci_pkgs}, ${debootstrap_dist})"
echo "Installing extra packages ${packages}"
echo "Installing extra board specific packages ${board_packages}"
mkdir -p tmp/ files/
echo -n > files/meta.yml
......@@ -164,7 +166,7 @@ set -x
# shellcheck disable=SC2086
sudo pureos_board="${pureos_board}" \
distro="${distro}" \
packages="${packages}" \
packages="${packages} ${board_packages}" \
http_proxy="${http_apt_proxy:-${http_proxy:-}}" \
https_proxy="${https_apt_proxy:-${https_proxy:-}}" \
qemu="${qemu}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment