[pve-devel] [PATCH manager 2/2] config: remove pve-apt.conf

Stoiko Ivanov s.ivanov at proxmox.com
Thu Jun 27 20:27:58 CEST 2019


Instead of marking all pve-kernel-.* packages as NeverAutoRemove we compile
a list of specific versions to keep.
This functionality is added in the proxmox-ve package (along with the config
for booting kernels with systemd-boot).
---
 configs/Makefile     | 1 -
 configs/pve-apt.conf | 7 -------
 2 files changed, 8 deletions(-)
 delete mode 100644 configs/pve-apt.conf

diff --git a/configs/Makefile b/configs/Makefile
index da30a230..c2049260 100644
--- a/configs/Makefile
+++ b/configs/Makefile
@@ -8,7 +8,6 @@ country.dat: country.pl
 .PHONY: install
 install: country.dat vzdump.conf pve-apt.conf pve-sources.list pve-initramfs.conf pve-blacklist.conf pve.logrotate
 	install -D -m 0644 pve.logrotate ${DESTDIR}/etc/logrotate.d/pve
-	install -D -m 0644 pve-apt.conf ${DESTDIR}/etc/apt/apt.conf.d/75pveconf
 	install -D -m 0644 pve-sources.list ${DESTDIR}/etc/apt/sources.list.d/pve-enterprise.list
 	install -D -m 0644 pve-blacklist.conf ${DESTDIR}/etc/modprobe.d/pve-blacklist.conf
 	install -D -m 0644 vzdump.conf ${DESTDIR}/etc/vzdump.conf
diff --git a/configs/pve-apt.conf b/configs/pve-apt.conf
deleted file mode 100644
index 0391b748..00000000
--- a/configs/pve-apt.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-APT
-{
-  NeverAutoRemove
-  {
-	"^pve-kernel-.*";
-  };
-}
-- 
2.20.1





More information about the pve-devel mailing list