From da92095f754c785c32fea94afcb2bca42105c357 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 26 Aug 2026 01:38:17 -0400 Subject: [PATCH] advance-channel: refuse bare --package; correct the sig-backfill guidance --- bin/advance-channel | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/advance-channel b/bin/advance-channel index 4fc7411..279889d 100755 --- a/bin/advance-channel +++ b/bin/advance-channel @@ -75,6 +75,10 @@ while [[ $# -gt 0 ]]; do shift done PACKAGES="${PACKAGES# }" + if [[ -z "$PACKAGES" ]]; then + print_error "--package requires at least one package name" + exit 1 + fi ;; --fast-ring) FAST_RING_ONLY=true @@ -263,8 +267,9 @@ fi if [[ ${#MISSING_SIGS[@]} -gt 0 ]]; then print_error "${#MISSING_SIGS[@]} package(s) have no detached signature in $FROM:" printf ' %s\n' "${MISSING_SIGS[@]}" - echo "Signatures must travel with their packages. Re-sign these in $FROM" - echo "(bin/repo sign) and re-run." + echo "Signatures must travel with their packages. Backfill them by copying the" + echo "files into build-output/$FROM/$ARCH, running bin/repo sign --mirror $FROM," + echo "and moving the .sig files back beside the packages — then re-run." exit 1 fi