diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-06 19:12:34 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-06 19:12:34 +0200 |
commit | 9d2938d4e6e86c6afdb9606f76f4ae9ce0ac4ee5 (patch) | |
tree | 17bb8f97805200b25525ae19230918a8c69efefe /debian | |
parent | 9a4dfc82c563d6335bb37a928a8925efe329fd8d (diff) |
* cmdline/apt-get.cc:
- always show the autoremove information and give advice how to use it
* debian/rules:
- install apt.conf.autoremove with blacklist for linux-image and linux-restriceted-modules
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apt.conf.autoremove | 8 | ||||
-rw-r--r-- | debian/apt.dirs | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove new file mode 100644 index 000000000..98143ce9a --- /dev/null +++ b/debian/apt.conf.autoremove @@ -0,0 +1,8 @@ +APT +{ + NeverAutoRemove + { + "^linux-image.*"; + "^linux-restricted-modules.*"; + }; +}; diff --git a/debian/apt.dirs b/debian/apt.dirs index e1cb738fa..1543e8bb1 100644 --- a/debian/apt.dirs +++ b/debian/apt.dirs @@ -2,6 +2,7 @@ usr/bin usr/lib/apt/methods usr/lib/dpkg/methods/apt etc/apt +etc/apt/apt.conf.d etc/apt/sources.list.d var/cache/apt/archives/partial var/lib/apt/lists/partial diff --git a/debian/rules b/debian/rules index 044f742d0..6a142e759 100755 --- a/debian/rules +++ b/debian/rules @@ -211,7 +211,7 @@ apt: build debian/shlibs.local cp debian/bugscript debian/$@/usr/share/bug/apt/script cp share/debian-archive.gpg debian/$@/usr/share/$@ - + cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove # head -n 500 ChangeLog > debian/ChangeLog dh_installexamples -p$@ $(BLD)/docs/examples/* |