Don't ship 16-greeter hook dependency
Today I learned that we have a function that we can use in the hooks to install dependencies and remove them afterwards, so that we don't ship them in our releases. I remembered that I installed a hook dependency for 16-greeter recently - I think we should use
The relevant commit it 77ebe7c70c80fc84bbc172369537a1ada04ca8d1.
Don't ship locales package (refs: #17132)
The locales package is only required by the 16-greeter hook, so we use
ensure_hook_dependency_is_installed() to install/remove it there.
Merge remote-tracking branch 'origin/bugfix/17132-dont-ship-greeter-hook-dependency' into devel (Closes: #17132)
Actually remove the locales package (refs: #17132)
Fixup against fb3b3efd1229d7f01df6b1f8e4d30a8c986c9087.
It's unclear why the apt-get autoremove command doesn't already
delete the locales package. But removing it explicitly in the
98-remove_unwanted_packages hook works.
- Status changed from Resolved to In Progress
- Assignee deleted (
- % Done changed from 100 to 50
Hmm, I'm confused. I think I did check that on this branch, the
locales package did not end up in the resulting images. But maybe I've been sloppy and forgot that step. Either way, the
locales package is included in 4.0~rc1. I'm not sure why
apt-get --yes --purge autoremove does not remove it: it could be because
Priority: standard, or because APT does not notice that the dependencies of other packages are already satisfied by
locales-all — go figure.
Anyway, this package is rather large, so let's try to remove it again. I think we'll need to explicitly deinstall it in