summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-12 01:16:32 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-15 06:12:50 +0000
commit8f91a3e12447c48d8497458e9206df1d04bacfa0 (patch)
treed09d010803858739c9283320542d21898c203397
parentRemoving manpage translations in order to rewrite manpage from scratch. (diff)
downloadsystem-build-8f91a3e12447c48d8497458e9206df1d04bacfa0.tar.xz
system-build-8f91a3e12447c48d8497458e9206df1d04bacfa0.zip
Adding chroot hook to remove auto-generated kernel autoremove file.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xshare/hooks/normal/0196-remote-apt-auto-removal.hook.chroot6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/hooks/normal/0196-remote-apt-auto-removal.hook.chroot b/share/hooks/normal/0196-remote-apt-auto-removal.hook.chroot
new file mode 100755
index 000000000..9bbfec794
--- /dev/null
+++ b/share/hooks/normal/0196-remote-apt-auto-removal.hook.chroot
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+# Remove auto-generated file
+rm -f /etc/apt/apt.conf.d/01autoremove-kernels