diff options
author | Johannes Ranke <johannes.ranke@jrwb.de> | 2025-06-29 21:39:44 +0200 |
---|---|---|
committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2025-06-29 21:39:44 +0200 |
commit | ff818c6a3713e5c509ccf41b0d4b7323790b5cdc (patch) | |
tree | d890cb2d54786f1de70b49f485afccb20c387367 | |
parent | 761ed5550319a0de1f521b448fdc0b1dd3ee2723 (diff) |
Script to copy debs from the arm64 build server
-rwxr-xr-x | move_debs_arm64 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/move_debs_arm64 b/move_debs_arm64 new file mode 100755 index 0000000..34c604b --- /dev/null +++ b/move_debs_arm64 @@ -0,0 +1,18 @@ +#!/bin/bash + +# Copy binary packages built in a chroot on a remote server to the local repository + +usage() +{ +echo "Usage: ./move_debs bullseye|bookworm" +} + +# Positional argument +if [ $# -lt 1 ]; then usage; exit 1; fi +DIST=$1 + +# Validate distribution argument +if [ $DIST != "bookworm" ] && [ $DIST != "bullseye" ]; then usage; exit 1; fi + +scp arm64:/var/chroot/$DIST-arm64/root/r-backports/$DIST/*${DIST}cran*_arm64.{deb,build} /home/jranke/git/uni-bremen/website/www/ranke/r-cran/$DIST-cran40 +sudo chown jranke /home/jranke/git/uni-bremen/website/www/ranke/r-cran/$DIST-cran40 |