Bug 1325437
Summary: | Weak dependencies are not excluded by minusing | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yaakov Selkowitz <yselkowi> | ||||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 24 | CC: | anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-05-02 18:44:25 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 1331100 | ||||||||
Bug Blocks: | 1323209 | ||||||||
Attachments: |
|
Created attachment 1145243 [details]
tdl
And here is the TDL file. Image is made with:
sudo imagefactory --debug base_image --file-parameter install_script fedora-docker-base-custom.ks fedora-24-alpha.tdl --parameter offline_icicle true
sudo imagefactory --debug target_image --id <UUID> docker --parameter compress xz
which can then be docker load'ed.
Duping against 1331100 since this is essentially the same issue: the interpretation of weak dependencies is done by dnf and is controllable only through a global configuration variable, and by default we want weak dependencies to be turned on. bug 1331100 has patches to add an option to %packages to turn weak dependencies off. *** This bug has been marked as a duplicate of bug 1331100 *** |
Created attachment 1145242 [details] kickstart In an attempt to minimize the size of the docker base image, we have been working to switch some optional dependencies from Requires: to Recommends:. However, we have been unable to exclude these from the image itself, despite explicitly minusing them in %packages. Attached is the kickstart we are using, which uses a custom repository with weakened dependencies. The minus-ed packages are still included in the compose, however nothing hard-requires them as they can be safely dnf erase'd afterwards.