Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Angus Ainslie
image-builder
Commits
66a6b724
Commit
66a6b724
authored
Dec 22, 2018
by
Guido Gunther
Browse files
Allow to install board specific packages
We really want to switch to FAI at some point.
parent
e920d21f
Changes
1
Hide whitespace changes
Inline
Side-by-side
build-image
View file @
66a6b724
...
...
@@ -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
}
"
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment