diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apt.auto-removal.sh | 7 | ||||
-rw-r--r-- | debian/changelog | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/debian/apt.auto-removal.sh b/debian/apt.auto-removal.sh index 17becd30e..8b0f1cf69 100644 --- a/debian/apt.auto-removal.sh +++ b/debian/apt.auto-removal.sh @@ -81,9 +81,10 @@ APT { EOF for kernel in $kernels; do - echo " \"^linux-image-$kernel.*\";" >> "$config_file".dpkg-new - echo " \"^linux-image-extra-$kernel.*\";" >> "$config_file".dpkg-new - echo " \"^linux-signed-image-$kernel.*\";" >> "$config_file".dpkg-new + echo " \"^linux-image-${kernel}$\";" >> "$config_file".dpkg-new + echo " \"^linux-image-extra-${kernel}$\";" >> "$config_file".dpkg-new + echo " \"^linux-signed-image-${kernel}$\";" >> "$config_file".dpkg-new + echo " \"^linux-backports-modules-.*-${kernel}$\";" >> "$config_file".dpkg-new done cat >> "$config_file".dpkg-new <<EOF }; diff --git a/debian/changelog b/debian/changelog index d196bb136..185322bb6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,12 @@ apt (0.9.9.1) UNRELEASED; urgency=low newest kernel, so we don't fill /boot up with an unlimited number of kernels. LP: #923876. + [ Adam Conrad ] + * Fix up two things in debian/apt.auto-removal.sh: + - Use exact matches with $-terminated regexes, so we don't get + confusion between similarly-named kernel flavours. + - Keep linux-backports-modules in sync with installed kernels. + -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 05 Jul 2013 16:39:34 +0200 apt (0.9.9) unstable; urgency=low |