[Bug 1829333] Re: please filter /usr/share/locales when creating minimized images
Steve Langasek
steve.langasek at canonical.com
Mon Jun 3 23:50:41 UTC 2019
** Description changed:
+ [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
+ /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.
--
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 Committed
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