please filter /usr/share/locales when creating minimized images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Justification]
Improving the fitness for purpose of Ubuntu minimal images by continuing to remove unused files is appropriate for a livecd-rootfs SRU.
[Test case]
1. Verify that there are no autopkgtest regressions.
2. Generate a minimal tarball in launchpad (but do NOT publish to cdimage.u.c!)
3. Download the tarball and verify no files under /usr/share/locales are included.
4. Chroot to the tarball.
5. Run 'unminimize' and confirm that the command succeeds.
[Regression potential]
The unminimize command might break in some unforeseen corner case. But this code has already landed in devel and there have been no complaints so far.
[Original description]
In a discussion around image sizes it came up that our images still have locales in
/usr/
Since my words seem to be misleading I'm quoting Steve on this:
"ok, now I see what you mean about locales. yes, since we do not support non-English locales in the minimized images, we should also filter out the apt translations from /usr/share/locales. Please file a bug on livecd-rootfs for this."
^^ this bug here :-)
Late on mwhudson said - "All done now"
But I wasn't sure if that also included the locales.
Better an extra bug that is quickly closed than one we forgot to fix.
tags: | added: id-5cdd06dc16ebf02310f65870 |
Changed in livecd-rootfs (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Steve Langasek (vorlon) |
Changed in livecd-rootfs (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
FYI: /usr/share/locales have 7MB in ubuntu:latest as of 15th of May