Bug 9111 - Custom images should not be listed in the image recipes table
Summary: Custom images should not be listed in the image recipes table
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 M4
Assignee: Dave Lerner
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-12 18:11 UTC by Belen Barros Pena
Modified: 2016-02-29 13:51 UTC (History)
4 users (show)

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


Attachments
atk looks ok first time (81.77 KB, image/png)
2016-02-12 22:20 UTC, Dave Lerner
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-02-12 18:11:27 UTC
Currently, the table of image recipes is showing all images. This is the query we use in tables.py

self.queryset = self.queryset.filter(is_image=True)

But that shows all images, including custom ones. This table should exclude the custom images, which have their own page, and show only the image recipes provided by "normal" layers.
Comment 1 Dave Lerner 2016-02-12 22:20:18 UTC
Created attachment 2980 [details]
atk looks ok first time
Comment 2 Dave Lerner 2016-02-25 18:39:08 UTC
Pushed to toaster-next
Comment 3 Alexandru Roman 2016-02-29 13:51:41 UTC
Verified on master: 4006a7f2762ccd5dcbc6cdff49482d4387a73261