Skip to content

Commit

Permalink
Disable package caching in apt operations
Browse files Browse the repository at this point in the history
  • Loading branch information
unman committed Jan 15, 2020
1 parent 2f2067a commit af20dbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/qubes-core-agent.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
etc/apt/apt.conf.d/00notify-hook
etc/apt/apt.conf.d/70no-unattended
etc/apt/apt.conf.d/10no-cache
etc/apt/sources.list.d/qubes-r4.list
etc/apt/trusted.gpg.d/qubes-archive-keyring.gpg
etc/dconf/db/local.d/dpi
Expand Down
2 changes: 2 additions & 0 deletions package-managers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ install-apt:
$(DESTDIR)$(APTCONFDIR)/apt.conf.d/00notify-hook
install -D -m 0644 apt-conf-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 -D -m 0644 dnf-qubes-hooks.py \
Expand Down
3 changes: 3 additions & 0 deletions package-managers/apt-conf-10no-cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Disable caching of packages in all apt operations

APT::Keep-Downloaded-Packages "0";

0 comments on commit af20dbc

Please sign in to comment.