-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
treebuilder.py: get_branding inconsistency #1430
Comments
Something in dnf5 must have changed, or has been random all this time and you were just lucky. Usually the best thing to do is have a single provider of system-release in the repos. But something else you could do is use |
Lists q and s are virtually the same on every run, minus any "generic" names in s. While q can vary, it seems using sorted() to produce s should be deterministic, but it's not. Likely due to not sorting with a "key". It appears to sort on "id". I don't use the variant arg, since I create a generic boot iso used to stitch together multiple variants later on. |
Ah! That might explain things, since they're package objects not just strings. |
Exactly! |
In treebuilder.py, get_branding() tries to determine which package provides "system-release".
This past week, I started to see issues with lorax and creating a custom bootiso. I've been using lorax, since fc28 or fc32, for this exact thing without issue.
Depending on how the specified repositories are loaded, the results in "pkgs" will vary and affect the value of
and then cause issue due to a conflict with installing mydist-logos and fedora-logos.
I created a simple script to demonstrate the indeterminate results.
Run multiple instances of the above script and you'll see differing output.
I have found that by reordering the "--source" arguments to lorax has thus far resolved the issue.
Original:
Resolved:
Components:
The text was updated successfully, but these errors were encountered: