Disable package caching in apt operations

This commit is contained in:
unman 2020-01-15 18:42:00 +00:00
parent 2f2067ac0b
commit af20dbc3db
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
3 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
etc/apt/apt.conf.d/00notify-hook etc/apt/apt.conf.d/00notify-hook
etc/apt/apt.conf.d/70no-unattended etc/apt/apt.conf.d/70no-unattended
etc/apt/apt.conf.d/10no-cache
etc/apt/sources.list.d/qubes-r4.list etc/apt/sources.list.d/qubes-r4.list
etc/apt/trusted.gpg.d/qubes-archive-keyring.gpg etc/apt/trusted.gpg.d/qubes-archive-keyring.gpg
etc/dconf/db/local.d/dpi etc/dconf/db/local.d/dpi

View File

@ -30,6 +30,8 @@ install-apt:
$(DESTDIR)$(APTCONFDIR)/apt.conf.d/00notify-hook $(DESTDIR)$(APTCONFDIR)/apt.conf.d/00notify-hook
install -D -m 0644 apt-conf-70no-unattended \ install -D -m 0644 apt-conf-70no-unattended \
$(DESTDIR)$(APTCONFDIR)/apt.conf.d/70no-unattended $(DESTDIR)$(APTCONFDIR)/apt.conf.d/70no-unattended
install -D -m 0644 apt-conf-10no-cache \
$(DESTDIR)$(APTCONFDIR)/apt.conf.d/10no-cache
install-dnf: install-rpm install-dnf: install-rpm
install -D -m 0644 dnf-qubes-hooks.py \ install -D -m 0644 dnf-qubes-hooks.py \

View File

@ -0,0 +1,3 @@
## Disable caching of packages in all apt operations
APT::Keep-Downloaded-Packages "0";