fix kernel version: patch before sed, fix scp glob
All checks were successful
release / Release (push) Successful in 38s

This commit is contained in:
2026-03-19 05:29:07 +09:00
parent 12b2657a50
commit caf983de76
2 changed files with 6 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ KERNEL_REMOTE
# Transfer kernel packages: HOST_KERNEL -> local -> HOST
echo "=== Transferring kernel packages ==="
tmpdir=$(mktemp -d)
scp "$HOST_KERNEL":~/aios-kernel/linux-aios/linux-aios-*.pkg.tar.zst "$tmpdir/"
ssh "$HOST_KERNEL" "ls ~/aios-kernel/linux-aios/linux-aios-*.pkg.tar.zst" | while read f; do scp "${HOST_KERNEL}:$f" "$tmpdir/"; done
scp "$tmpdir"/linux-aios-*.pkg.tar.zst "$HOST":~/ai/repo/x86_64/
rm -rf "$tmpdir"