Commit ee616b73 authored by Guido Gunther's avatar Guido Gunther
Browse files Only disable recommends for amber-phone

We don't make this a toggle since we really want that alwys on
and just enable it for legacy amber-phone.

Closes: #56
parent 2f85335f
Pipeline #63825 passed with stage
in 8 seconds
......@@ -328,10 +328,13 @@ function setup_apt()
echo "Set sources list to:"
cat "${basedir}/etc/apt/sources.list"
cat << EOF > "${basedir}/etc/apt/apt.conf.d/71-no-recommends"
if [ "$distro" == "amber-phone" ]; then
echo "WARNING: Disabling recommends for amber-phone lagacy distribution"
cat << EOF > "${basedir}/etc/apt/apt.conf.d/71-no-recommends"
APT::Install-Recommends "0";
APT::Install-Suggests "0";
chroot "${basedir}" apt-get install -y gnupg
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