From 60d3dcced9e3a90a5f58f5ffadd1ca142bbd249b Mon Sep 17 00:00:00 2001 From: Dietmar Maurer <dietmar@proxmox.com> Date: Thu, 25 Jul 2013 07:53:07 +0200 Subject: [PATCH] avoid apt autoremoval for pve-kernel packages --- Makefile | 1 + debian/changelog.Debian | 2 ++ debian/conffiles | 1 + pve-apt.conf | 7 +++++++ 4 files changed, 11 insertions(+) create mode 100644 pve-apt.conf diff --git a/Makefile b/Makefile index 92cba4f45..d9d2a8e6c 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,7 @@ install: country.dat vznet.conf vzdump.conf vzdump-hook-script.pl install -d ${DESTDIR}/var/lib/vz/template/cache install -d ${DESTDIR}/var/lib/vz/template/iso install -d ${DESTDIR}/var/lib/vz/template/qemu + install -D -m 0644 pve-apt.conf ${DESTDIR}/etc/apt/apt.conf.d/75pveconf install -D -m 0644 vzdump.conf ${DESTDIR}/etc/vzdump.conf install -D -m 0755 vznet.conf ${DESTDIR}/etc/vz/vznet.conf install -m 0644 vzdump-hook-script.pl ${DOCDIR}/examples/vzdump-hook-script.pl diff --git a/debian/changelog.Debian b/debian/changelog.Debian index a6ee069a8..a6ad57586 100644 --- a/debian/changelog.Debian +++ b/debian/changelog.Debian @@ -3,6 +3,8 @@ pve-manager (3.0-36) unstable; urgency=low * fix proxy loop assertion for spiceproxy * pveproxy: use same cipher list as debian apache ssl.conf + + * avoid apt autoremoval for pve-kernel packages -- Proxmox Support Team <support@proxmox.com> Wed, 24 Jul 2013 12:43:38 +0200 diff --git a/debian/conffiles b/debian/conffiles index d832de86f..f5cfa25f3 100644 --- a/debian/conffiles +++ b/debian/conffiles @@ -9,3 +9,4 @@ /etc/vz/vznet.conf /etc/vzdump.conf /etc/logrotate.d/pve +/etc/apt/apt.conf.d/75pveconf diff --git a/pve-apt.conf b/pve-apt.conf new file mode 100644 index 000000000..0bf380fd9 --- /dev/null +++ b/pve-apt.conf @@ -0,0 +1,7 @@ +APT +{ + NeverAutoRemove + { + "^pve-kernel-.*"; + }; +} \ No newline at end of file