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
Philip Freeman
image-builder
Commits
e635cfe9
Commit
e635cfe9
authored
Dec 21, 2019
by
Matthias Klumpp
Browse files
Adjust Laniakea support patch to rewrite the suite name as well
parent
6c9c4a5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
build-image
View file @
e635cfe9
...
...
@@ -180,14 +180,20 @@ while getopts ":hb:d:T:B" opt; do
esac
done
if
[
-n
"
${
container_uuid
:-}
"
]
;
then
# Install unzip in case we are running in a container
# on Laniakea Spark or somewhere else where this utility
# is needed and may not be installed already.
apt
-uyq
install
unzip
# also install sudo, temporarily
apt
-uyq
install sudo
if
[
-n
"
${
SPARK_ID
:-}
"
]
;
then
# We are running on a Laniakea Spark builder, so
# install a few missing components.
build_type
=
plain
case
"
$distro
"
in
amber
)
distro
=
amber-phone
;;
*
)
echo
"Unknown dist"
;;
esac
apt update
apt
-uyq
install
unzip
sudo
fi
# If distro ends in CI use ci packages and cleanup distro name
...
...
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