diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2012-11-03 00:39:19 +0100 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2012-11-03 00:39:19 +0100 |
commit | 39a07ec8f2c612a5af234c7713571362f7ca90b4 (patch) | |
tree | 5a50ba822231be15eb9b63009451124c0ef4ee35 /debian/rules | |
parent | f69b2c3d2984cd4dca485fb05ab84df94067c50d (diff) |
* debian/apt.conf.autoremove: don't include linux-image*,
linux-restricted-modules*, and linux-ubuntu-modules* packages in the
list to never be autoremoved.
* debian/apt.auto-removal.sh, debian/rules, debian/apt.dirs: install new
script to /etc/kernel/postinst.d/ which ensures we only automatically
keep the currently-running kernel, the being-installed kernel, and the
newest kernel, so we don't fill /boot up with an unlimited number of
kernels. LP: #923876.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 8da5ae790..618c7f8d0 100755 --- a/debian/rules +++ b/debian/rules @@ -186,6 +186,8 @@ apt: build build-manpages # cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove cp debian/apt.conf.changelog debian/$@/etc/apt/apt.conf.d/20changelog + cp debian/apt.auto-removal.sh debian/$@/etc/kernel/postinst.d/apt-auto-removal + chmod 755 debian/$@/etc/kernel/postinst.d/apt-auto-removal cp share/ubuntu-archive.gpg debian/$@/usr/share/$@ # make rosetta happy and remove pot files in po/ (but leave stuff |