-
Notifications
You must be signed in to change notification settings - Fork 32
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
xx-apt: add special case for ubuntu repo switch #49
Conversation
e0a9e79
to
6b38e1c
Compare
6b38e1c
to
ebf3623
Compare
8184d5b
to
c53061f
Compare
|
||
if echo "$p" | grep -E "^(deb|deb-src) "; then | ||
case "${nativearch}" in | ||
amd64 | 386) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes all active rules to the current arch group and adds a duplicate rule for the additional group.
Alternative would be to set current rules only to the current native arch and add detect the ubuntu distro and add only the known rules for that arch, each time fixed to individual arch.
Maybe the second one is better. wdyt? @crazy-max
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternative would be to set current rules only to the current native arch and add detect the ubuntu distro and add only the known rules for that arch, each time fixed to individual arch.
Yes, the second solution with native arch might be better in the long run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this one. I'll make a new PR and we can see if it actually improves.
I removed 18.04 from CI. The llvm version is way too low for anything meaningful. |
I've started the follow-up for #52 and on fedora 35 (stable) llvm version is quite new in my case 13.0.0~rc1. |
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
c53061f
to
25bdc8b
Compare
Signed-off-by: Tonis Tiigi tonistiigi@gmail.com