Bug 8927 - Custom image package list does not show packages installed via IMAGE_LINGUAS
Summary: Custom image package list does not show packages installed via IMAGE_LINGUAS
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1 M3
Assignee: Michael Wood
QA Contact: Alexandru Roman
URL:
Whiteboard: GUI design available
Depends on:
Blocks:
 
Reported: 2016-01-14 14:47 UTC by Belen Barros Pena
Modified: 2016-02-16 13:17 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Design - Showing locale packages (305.61 KB, application/pdf)
2016-01-14 16:03 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2016-01-14 14:47:16 UTC
This issue applies to the image customisation branch

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=michaelw/toaster/ic-6

When the IMAGE_LINGUAS variable is set to one or more locales, the locale packages for those are installed for each of the packages installed in the image. 

These locale packages, however, are not shown in the list of packages provided by image customisation. They are, however, shown in the list of packages installed presented by the build data. They should appear in the image customisation pages too, presented as explained in the attached design document. 

Steps to reproduce: 

1. Start Toaster with CUSTOM_IMAGE=1

2. Create a project with release 'master'

3. Build core-image-sato

4. Go to the 'New custom image' page

5. Search the core-image-sato provided by the openembedded-core layer as your base image for a new custom image (i.e. click the 'customise' button next to it)

6. Give your custom image a name, then build it

7. Once it's done, select the build and in the left navigation click on the image name and in the "Packages included" tab, search for -locale. You should get a list of 24 packages

8. Then go to the project configuration page and on the left navigation click on the 'custom images' link and then select your sato-based custom image 

9. Search for "-locale", then click the 'filter' button next to 'Add | remove' table heading and select the option "Packages in <your_image_name> (2)"

There are only 2 locale packages listed instead of 24.
Comment 1 Belen Barros Pena 2016-01-14 16:03:42 UTC
Created attachment 2930 [details]
Design - Showing locale packages

This page extracted from this design document

https://bugzilla.yoctoproject.org/attachment.cgi?id=2917

in bug 8082 shows how we should display locale packages installed via IMAGE_LINGUAS in the custom image details page. You can also see it at

http://www.yoctoproject.org/toaster/custom-image-details-included.html
Comment 2 Elliot Smith 2016-01-18 17:42:56 UTC
Confirmed this bug, behaviour exactly as Belen describes in elliot/toaster/ic-7-rebase (my working branch for image customisation).
Comment 3 Elliot Smith 2016-01-25 16:08:26 UTC
This should be fixed on elliot/toaster/ic-7-rebase, which Michael is picking up again.
Comment 4 Michael Wood 2016-02-16 10:14:51 UTC
Think this is fixed with the package sync work as of 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=30c132bc4726be90fadee419a588a8b8f2161380
Comment 5 Alexandru Roman 2016-02-16 13:17:22 UTC
Verified on master: 7a700f59d98ffe08714582532d3edb97abc2e33e