[Bug 1829333] Re: please filter /usr/share/locales when creating minimized images
Launchpad Bug Tracker
1829333 at bugs.launchpad.net
Thu Jun 6 20:45:46 UTC 2019
This bug was fixed in the package livecd-rootfs - 2.542.5
---------------
livecd-rootfs (2.542.5) cosmic; urgency=medium
* Strip translation files out of the minimal images, another thing that
goes unused when there is no human console user (and we already don't
have the locales themselves present on a minimal image). LP: #1829333.
-- Steve Langasek <steve.langasek at ubuntu.com> Tue, 28 May 2019
08:51:17 -0700
** Changed in: livecd-rootfs (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1829333
Title:
please filter /usr/share/locales when creating minimized images
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Bionic:
Fix Committed
Status in livecd-rootfs source package in Cosmic:
Fix Released
Status in livecd-rootfs source package in Disco:
Fix Committed
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/share/locales
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1829333/+subscriptions
More information about the foundations-bugs
mailing list