]> git.proxmox.com Git - pve-manager.git/commitdiff
avoid apt autoremoval for pve-kernel packages
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 25 Jul 2013 05:53:07 +0000 (07:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 25 Jul 2013 05:53:07 +0000 (07:53 +0200)
Makefile
debian/changelog.Debian
debian/conffiles
pve-apt.conf [new file with mode: 0644]

index 92cba4f456d9a87e74984d02bf94e0db9023da0b..d9d2a8e6cb6d52550ff57abab05afec599ee6be8 100644 (file)
--- 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
index a6ee069a8b37d5d126550533b43e15eb40ad0ee5..a6ad57586bde1051385f03580f3807652fa6ea57 100644 (file)
@@ -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
 
index d832de86f9e419ee78b0e11518b25ff116550f71..f5cfa25f399446561d35ce2c69ce9b3776b7a2c2 100644 (file)
@@ -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 (file)
index 0000000..0bf380f
--- /dev/null
@@ -0,0 +1,7 @@
+APT
+{
+  NeverAutoRemove
+  {
+       "^pve-kernel-.*";
+  };
+}
\ No newline at end of file