-
Notifications
You must be signed in to change notification settings - Fork 381
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
T6333 non-free-firmware to trixie #614
Conversation
Isnt this already handled by this: https://github.com/vyos/vyos-build/blob/current/data/defaults.toml Also the non-free-firmware shouldnt that exist for trixie-updates aswell? |
current/data/defaults.toml just accounts for bookworm, not trixie. I believe you're correct about trixie-updates, good catch! I'll try rebuilding with that just to make sure there are no surprises. I feel like there shouldn't be but I'm an absolute novice with apt, my main OS is arch, so I don't trust my judgment with apt yet. |
In regards to current/data/defaults.toml actually, I wonder if the error will clear if |
I feel that this PR should be denied because changing to "trixie" from "bookworm" is done at the wrong place. It should be handled either by cmdline or by files at https://github.com/vyos/vyos-build/blob/current/data/ based on https://github.com/vyos/vyos-build/blob/current/data/defaults.toml as a start. That is alter:
into:
Also note that current 1.5-rolling is based on bookworm so suddently switching to trixie (which is the upcoming Debian version after bookworm) might break stuff. If you still want to have a go I would just manually alter the content of defaults.toml in my build environment instead of adding new files to the VyOS repo. |
@Apachez- I think you're a little mixed up with VyOS builds (as am I honestly)--not all packages come from bookworm. Different packages are pinned to different Debian versions. It is very noticable when building, you see something like: |
Take a look at the files in this dir, for example: https://github.com/vyos/vyos-build/tree/current/data/live-build-config/archives See what I'm saying? |
@aidan-gibson you are correct that it applies only to those packages pinned in: |
@jestabro Thanks for the info! Do you think line 2, @Apachez- The purpose of this PR is to eliminate a warning we get on builds, as stated initially. If you have alternative code that eliminates the warning in a different fashion, I'd love to learn from you, I still very much consider myself a VyOS novice. The PR I'd really like to implement is Best regards to you both! I'm having a fantastic time with VyOS thus far. |
If you just want to add 2 additional packages to your custom build the easiest way to do this is probably in your local build environment modify https://github.com/vyos/vyos-build/blob/current/data/architectures/amd64.toml to include the extra packages. You can also add the custom packages through cmdline when compiling the ISO such as --custom-package: https://docs.vyos.io/en/latest/contributing/build-vyos.html#customize |
Thanks I'll try that build now! Yep, |
@Mergifyio backport sagitta |
✅ Backports have been created
|
Change Summary
Fixes this warning that would otherwise occur:
Types of changes
Related Task(s)
https://vyos.dev/T6333
Component(s) name
Proposed changes
How to test
Checklist: