Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace
armbian.list
witharmbian.sources
. This holds the same information in a newer format, deb822. APT has supported this format since version 1.1, released in 2015.This follows the migration of the APT configuration for armbian-config –
armbian-config.list
toarmbian-config.sources
.There are some things to note:
HTTP has been replaced with HTTPS for Armbian repositories since it was used for armbian-config.
The previous configuration included commented-out
deb-src
lines. This PR effectively removes them, but one of the following equivalents could be added:As I interpret the documentation, the deb822 format only allows comments beginning at the start of a line, so the following is not valid.
What was
sources.list
has been renamed todebian.sources
orubuntu.sources
. Alternatively, this could be something more generic likeupstream.sources
.The new upstream repository configuration uses
Signed-By
to refer to signing keys:Debian:
/usr/share/keyrings/debian-archive-keyring.gpg
from packagedebian-archive-keyring
.Ubuntu:
/usr/share/keyrings/ubuntu-archive-keyring.gpg
from packageubuntu-keyring
.When generating a build for Debian "unstable", the APT configuration will now reference "unstable" rather than "sid" in the
Suites
field.The
Architectures
field is used for riscv64-specific packages indebian.sources
. I think this means that the architecture check in the build script could be omitted at the cost of a bit of clutter in non-riscv64 images.I've made use of shell variables in
call_extension_method
indistro-specific.sh
. Will this variable substitution work, or is this text extracted by reflection somehow?References to
armbian.list
also exist in other repositories:Related documentation: deb822
Related PRs:
Testing
The following script can be saved in
./lib/functions/rootfs/
. Running it will generate a directory calledtest
containing.list
or.sources
files, depending on whether this PR has been applied or not. Uncomment the secondARCH
line to test the riscv64-specific configuration.Important: Add
return
beforeimage-early
line indistro-specific.sh
before running this script.Checklist:
Please delete options that are not relevant.