Commit fbe0101c authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

defaults: Lower priority for src:webkit for non-amber phone

Debian thankfully ships security updates for webkit but they don't
use WPE so break epiphany. Hence lower the priority of packages from
amber, amber-security, amber-updates and amber-proposed-updates
but leave amber-phone, amber-phone-staging at default priority.

This still allows to use

   apt install <pkg>/amber-security

while prefering amber-phone{,-staging} by default.

We add a lintian override since this is better than breaking
installations. This will go away automatically when we switch
to byzantium.
parent 28c38dc7
......@@ -34,3 +34,6 @@ default/gpsd/99-gnss.rules lib/udev/rules.d/
# battery shipmode on poweroff
default/shipmode/l5-poweroff-shipmode /usr/lib/systemd/system-shutdown/
# Apt pinning since amber-phone is not a full suite
default/apt-preferences.d/* /etc/apt/preferences.d/
librem5-base-defaults: package-installs-apt-preferences etc/apt/preferences.d/webkit-amber-phone
# Lower the priority of all suites except amber-phone*
# for webkit2gtk packages
#
# Can't use src:webkit on buster/amber so this gets rather long:
# amber-security
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-javascriptcoregtk-4.0
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-webkit2-4.0
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-18
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-bin
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-dev
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37-gtk2
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-dev
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-doc
Pin: release n=amber-security
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: webkit2gtk-driver
Pin: release n=amber-security
Pin-Priority: 90
# amber-updates
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-javascriptcoregtk-4.0
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-webkit2-4.0
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-18
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-bin
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-dev
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37-gtk2
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-dev
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-doc
Pin: release n=amber-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: webkit2gtk-driver
Pin: release n=amber-updates
Pin-Priority: 90
# amber
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-javascriptcoregtk-4.0
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-webkit2-4.0
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-18
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-bin
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-dev
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37-gtk2
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-dev
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-doc
Pin: release n=amber
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: webkit2gtk-driver
Pin: release n=amber
Pin-Priority: 90
# amber-proposed-updates
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-javascriptcoregtk-4.0
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: gir1.2-webkit2-4.0
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-18
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-bin
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libjavascriptcoregtk-4.0-dev
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-37-gtk2
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-dev
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: libwebkit2gtk-4.0-doc
Pin: release n=amber-proposed-updates
Pin-Priority: 90
Explanation: Debian ships webkit versions that don't work for us
Package: webkit2gtk-driver
Pin: release n=amber-proposed-updates
Pin-Priority: 90
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