From b74b490f78aee919a05551917a01853167558761 Mon Sep 17 00:00:00 2001 From: "Ying-Chun Liu (PaulLiu)" Date: Fri, 17 Jul 2026 11:17:08 -0300 Subject: [PATCH 1/2] gigabyte-ampere-cuttlefish-installer: preseed.cfg: enable backports It seems that the nVidia driver are working now in trixie-backports. Turn on backports so we can have newer version of kernel. Signed-off-by: Ying-Chun Liu (PaulLiu) --- gigabyte-ampere-cuttlefish-installer/preseed/preseed.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gigabyte-ampere-cuttlefish-installer/preseed/preseed.cfg b/gigabyte-ampere-cuttlefish-installer/preseed/preseed.cfg index 83458ad8d03..4a2223567b0 100644 --- a/gigabyte-ampere-cuttlefish-installer/preseed/preseed.cfg +++ b/gigabyte-ampere-cuttlefish-installer/preseed/preseed.cfg @@ -299,7 +299,7 @@ d-i partman-partitioning/default_label string gpt # (default: false). d-i apt-setup/cdrom/set-first boolean false # Backport selection -# d-i apt-setup/services-select multiselect backports +d-i apt-setup/services-select multiselect backports # You can choose to install non-free firmware. d-i apt-setup/non-free-firmware boolean true # You can choose to install non-free and contrib software. From df0a4f99a856212f1cc089895f42e1af2fb2a2a4 Mon Sep 17 00:00:00 2001 From: "Ying-Chun Liu (PaulLiu)" Date: Sat, 18 Jul 2026 21:51:14 -0300 Subject: [PATCH 2/2] gigabyte-ampere-cuttlefish-installer: utils: download-ci-cf.sh: use JSON API The previous way to download the artifacts doesn't work. We fix it by using the latest JSON API. And also make the script more verbose on error. Signed-off-by: Ying-Chun Liu (PaulLiu) --- .../utils/download-ci-cf.sh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/gigabyte-ampere-cuttlefish-installer/utils/download-ci-cf.sh b/gigabyte-ampere-cuttlefish-installer/utils/download-ci-cf.sh index 22f5162b01a..0ad38a078fe 100755 --- a/gigabyte-ampere-cuttlefish-installer/utils/download-ci-cf.sh +++ b/gigabyte-ampere-cuttlefish-installer/utils/download-ci-cf.sh @@ -6,9 +6,23 @@ set -o errexit URL=https://ci.android.com/builds/latest/branches/aosp-android-latest-release/targets/aosp_cf_arm64_only_phone-userdebug/view/BUILD_INFO RURL=$(curl -Ls -o /dev/null -w %{url_effective} ${URL}) -echo $RURL +echo "RURL = ${RURL}" -FILENAME=$(wget -nv -O - ${RURL%/view/BUILD_INFO}/ | grep aosp_cf_arm64_only_phone-img- | sed 's/.*\(aosp_cf_arm64_only_phone-img-[0-9]*[.]zip\).*/\1/g') +BUILD_ID=$(echo "${RURL}" | sed -n 's/.*\/builds\/submitted\/\([^\/]*\)\/.*/\1/p') +echo "BUILD_ID = ${BUILD_ID}" + +if [ x"${BUILD_ID}" = x"" ]; then + echo "Error: BUILD_ID empty." + exit 1 +fi + +FILENAME="aosp_cf_arm64_only_phone-img-${BUILD_ID}.zip" +echo "FILENAME = ${FILENAME}" + +if [ x"${FILENAME}" = x"" ]; then + echo "Error: FILENAME empty." + exit 1 +fi wget -nv -c ${RURL%/view/BUILD_INFO}/raw/${FILENAME} wget -nv -c ${RURL%/view/BUILD_INFO}/raw/cvd-host_package.tar.gz