mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Multiple sources fix: after changing to deb822 we forgot on leftovers
- deboostrap still uses old ways and we need to remove this file - when displaying the content of sources, we need to look correct file
This commit is contained in:
@@ -132,4 +132,4 @@ function extract_rootfs_artifact() {
|
||||
}
|
||||
|
||||
# This comment strategically introduced to force a rebuild of all rootfs, as this file's contents are hashed into all rootfs versions.
|
||||
# Just a number to force rebuild 003
|
||||
# Just a number to force rebuild 004
|
||||
|
||||
@@ -80,6 +80,9 @@ function create_sources_list_and_deploy_repo_key() {
|
||||
|
||||
declare distro=""
|
||||
|
||||
# Drop deboostrap sources leftovers
|
||||
rm -f "${basedir}/etc/apt/sources.list"
|
||||
|
||||
# Add upstream (Debian/Ubuntu) APT repository
|
||||
case $release in
|
||||
buster | bullseye | bookworm | trixie)
|
||||
|
||||
@@ -177,7 +177,7 @@ function create_new_rootfs_cache_via_debootstrap() {
|
||||
# @TODO: use asset logging for this; actually log contents of the files too
|
||||
run_host_command_logged ls -l "${SDCARD}/usr/share/keyrings"
|
||||
run_host_command_logged ls -l "${SDCARD}/etc/apt/sources.list.d"
|
||||
run_host_command_logged cat "${SDCARD}/etc/apt/sources.list"
|
||||
run_host_command_logged cat "${SDCARD}/etc/apt/sources.list.d/${DISTRIBUTION,,}.sources"
|
||||
|
||||
# stage: update packages list
|
||||
display_alert "Updating package list" "$RELEASE" "info"
|
||||
|
||||
Reference in New Issue
Block a user