diff --git a/scripts/.gitignore b/scripts/.gitignore new file mode 100644 index 0000000..a55b8b0 --- /dev/null +++ b/scripts/.gitignore @@ -0,0 +1 @@ +*run*.sh diff --git a/scripts/run.sh b/scripts/run.sh index 16d9b94..7d64c45 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -9,17 +9,18 @@ function get_base() { local dst="$BASE_BASES/$name/$arch" mkdir -p "$dst" - rsync -yavP --exclude contents_index "$remote/$arch/base" "$dst/" + rsync -yavP --delete-after \ + --exclude contents_index --exclude '*debuginfo*' \ + "$remote/$arch/base" "$dst/" } -get_base x86_64 xrs:/space/ALT/Sisyphus x86_64 -get_base x86_64 xrs:/space/ALT/Sisyphus noarch +get_base x86_64 rsync://ftp.altlinux.org/ALTLinux/Sisyphus x86_64 +get_base x86_64 rsync://ftp.altlinux.org/ALTLinux/Sisyphus noarch -get_base riscv64 xrs:/riscv64/repo_depot/repo/sisyphus_riscv64/release/latest riscv64 -get_base riscv64 xrs:/riscv64/repo_depot/repo/sisyphus_riscv64/release/latest noarch -get_base mipsel xrs:/repo_depot/repo/sisyphus_mipsel/release/latest mipsel -get_base mipsel xrs:/repo_depot/repo/sisyphus_mipsel/release/latest noarch +get_base riscv64 rsync://ftp.altlinux.org/ALTLinux/ports/riscv64/Sisyphus riscv64 +get_base riscv64 rsync://ftp.altlinux.org/ALTLinux/ports/riscv64/Sisyphus noarch + cat > "$BASE_BASES/config.json" << EOF { @@ -34,11 +35,6 @@ cat > "$BASE_BASES/config.json" << EOF "path": "$BASE_BASES/riscv64", "arch": ["riscv64", "noarch"], "bits": 64 - }, - "sisyphus_mipsel": { - "path": "$BASE_BASES/mipsel", - "arch": ["mipsel", "noarch"], - "bits": 32 } } }