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 ...@@ -180,14 +180,20 @@ while getopts ":hb:d:T:B" opt; do
esac esac
done done
if [ -n "${container_uuid:-}" ]; then if [ -n "${SPARK_ID:-}" ]; then
# Install unzip in case we are running in a container # We are running on a Laniakea Spark builder, so
# on Laniakea Spark or somewhere else where this utility # install a few missing components.
# is needed and may not be installed already. build_type=plain
apt -uyq install unzip
case "$distro" in
# also install sudo, temporarily amber)
apt -uyq install sudo distro=amber-phone
;;
*) echo "Unknown dist"
;;
esac
apt update
apt -uyq install unzip sudo
fi fi
# If distro ends in CI use ci packages and cleanup distro name # 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