Commit e635cfe9 authored by Matthias Klumpp's avatar Matthias Klumpp
Browse files

Adjust Laniakea support patch to rewrite the suite name as well

parent 6c9c4a5a
......@@ -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
......
Supports Markdown
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