Skip to content

Commit

Permalink
apt: workaround bug #319/#368 in unattended-upgrades by allowing all …
Browse files Browse the repository at this point in the history
  • Loading branch information
phd committed Sep 22, 2024
1 parent 40add66 commit 600caec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ ifneq ($(shell id -u), 0)
else
$(call link , ${DIR} , /etc/.phdconf )
$(call link , /etc/.phdconf/__etc__apt__preferences.d__phd , /etc/apt/preferences.d/phd )
$(call link , /etc/.phdconf/__etc__apt__apt.conf.d__99phd , /etc/apt/apt.conf.d/99phd )
$(call create_immutable, /etc/apt/sources.list.d/phd.sources )
$(call link , /etc/.phdconf/__etc__apt__sources.list.d__phd.list--${DISTRIB_CODENAME}, /etc/apt/sources.list.d/phd.list )
$(call create_immutable, /etc/apt/sources.list.d/steam.list )
Expand Down
6 changes: 6 additions & 0 deletions __etc__apt__apt.conf.d__99phd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Unattended-Upgrade::Origins-Pattern {
"origin=*";
};

// Unattended-Upgrade::OnlyOnACPower "false";
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections "false";
4 changes: 0 additions & 4 deletions __etc__apt__preferences.d__phd
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ Package: *
Pin: release o=LP-PPA-phd-chromium-browser
Pin-Priority: 1001

Package: firefox firefox-* thunderbird thunderbird-*
Pin: release o=Ubuntu
Pin-Priority: -1

Package: *
Pin: release o=LP-PPA-phd-firefox
Pin-Priority: 1001
Expand Down

0 comments on commit 600caec

Please sign in to comment.