-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: Use deb822 format for APT sources #407
Conversation
- Replace `armbian-config.list` with `armbian-config.sources`. This holds the same information in a newer format, deb822. This does not affect `armbian.list`, but I could look at migrating that too if there is interest. - Update `README.md` accordingly.
How is backward compatibility? Bullseye / Focal? Where this breaks? |
I can confirm that both Focal and Bullseye support the new format. For the test I've replaced the standard
and
|
Absolutely, any help is appreciated! Thank you for this one. |
- Replace creation of `armbian-config.list` with `armbian-config.sources`. This holds the same information in a newer format, deb822. See also: armbian/configng#407
- Replace creation of `armbian-config.list` with `armbian-config.sources`. This holds the same information in a newer format, deb822. This does not affect `armbian.list`. See also: armbian/configng#407
Thanks, both. I think all Debian and Ubuntu releases from ~2017 onwards support deb822. APT versions:
It's more likely that issues are created by scripts and third-party software which interacts with the APT sources. armbian-config, for instance, modifies [[ -f /etc/apt/sources.list.d/armbian.list ]] && sed -i "s/$distroid/$upgrade/g" /etc/apt/sources.list.d/armbian.list Would you like armbian-config to retain this code if I add support for Before merging this PR, see these two: |
- Replace creation of `armbian-config.list` with `armbian-config.sources`. This holds the same information in a newer format, deb822. This does not affect `armbian.list`. See also: armbian/configng#407
Thanks @blieque. Few small notes:
@igorpecovnik please correct me, if I am wrong on the above points. Also, this is probably a subject for another issue, but IMHO armbian and armbian-config keys should be provided by a .deb package, like Ubuntu and Debian do (ie, |
You are correct. We provide
I think yes. I have opened a ticket https://armbian.atlassian.net/browse/AR-2601 Is this all that needs to be fixed within?
Do we produce two packages or one? I don't want that we sign this with a different key. |
I'll merge this as is. |
- Replace creation of `armbian-config.list` with `armbian-config.sources`. This holds the same information in a newer format, deb822. See also: armbian/configng#407
- Replace creation of `armbian-config.list` with `armbian-config.sources`. This holds the same information in a newer format, deb822. This does not affect `armbian.list`. See also: armbian/configng#407
The Debian manpage says this:
I assume that manual installation of armbian-config on other distros is rare, but in that case On Armbian, though, the key almost certainly originated with the installation image. I wouldn't consider this "managed by packages" or "managed by the system operator", although I'd lean toward the former. I feel like There are at least 14 mentions of
A lot of these references include references to |
Also deprecated. |
@igorpecovnik no sorry, we would just have one package, eg
@blieque I see it differently, but if we are going to go with the package, our differences are unimportant. I gave it another thought, and I agree with you - it's better to keep the key in its current location. This way when we roll the package, it will simply overwrite the existing file. |
Description
Replace
armbian-config.list
witharmbian-config.sources
. This holds the same information in a newer format, deb822. APT has supported this format since version 1.1, released in 2015.README.md
is also updated, and some typos are fixed.This does not affect
armbian.list
, but I could look at migrating that too if there is interest.There are two more references to
armbian-config.list
that will also need to be updated in other repositories to merge this PR:extensions/armbian-config.sh
docs/User-Guide_Armbian-Config.md
A migration script in a post-install hook might also be required.
Issue reference: n/a
Related documentation: deb822