qemu/arm: Build stage3 from stage1

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2021-01-17 23:05:01 +02:00
parent 7052cc52dd
commit 683c6a1a41
No known key found for this signature in database
GPG key ID: 8C9260C6F6D7A310
25 changed files with 56 additions and 161 deletions

View file

@ -21,21 +21,21 @@ SETS="
armv7a_sf_systemd
"
SET_armv4tl_SPECS="armv4tl/stage1.spec armv4tl/stage2.spec armv4tl/stage3.spec"
SET_armv4tl_systemd_SPECS="armv4tl/stage1-systemd.spec armv4tl/stage2-systemd.spec armv4tl/stage3-systemd.spec"
SET_armv4tl_SPECS="armv4tl/stage1.spec armv4tl/stage3.spec"
SET_armv4tl_systemd_SPECS="armv4tl/stage1-systemd.spec armv4tl/stage3-systemd.spec"
SET_armv5tel_SPECS="armv5tel/stage1.spec armv5tel/stage2.spec armv5tel/stage3.spec"
SET_armv5tel_systemd_SPECS="armv5tel/stage1-systemd.spec armv5tel/stage2-systemd.spec armv5tel/stage3-systemd.spec"
SET_armv5tel_SPECS="armv5tel/stage1.spec armv5tel/stage3.spec"
SET_armv5tel_systemd_SPECS="armv5tel/stage1-systemd.spec armv5tel/stage3-systemd.spec"
SET_armv6j_hf_SPECS="armv6j/stage1-hardfloat.spec armv6j/stage2-hardfloat.spec armv6j/stage3-hardfloat.spec"
SET_armv6j_sf_SPECS="armv6j/stage1.spec armv6j/stage2.spec armv6j/stage3.spec"
SET_armv6j_hf_systemd_SPECS="armv6j/stage1-hardfloat-systemd.spec armv6j/stage2-hardfloat-systemd.spec armv6j/stage3-hardfloat-systemd.spec"
SET_armv6j_sf_systemd_SPECS="armv6j/stage1-systemd.spec armv6j/stage2-systemd.spec armv6j/stage3-systemd.spec"
SET_armv6j_hf_SPECS="armv6j/stage1-hardfloat.spec armv6j/stage3-hardfloat.spec"
SET_armv6j_sf_SPECS="armv6j/stage1.spec armv6j/stage3.spec"
SET_armv6j_hf_systemd_SPECS="armv6j/stage1-hardfloat-systemd.spec armv6j/stage3-hardfloat-systemd.spec"
SET_armv6j_sf_systemd_SPECS="armv6j/stage1-systemd.spec armv6j/stage3-systemd.spec"
SET_armv7a_hf_SPECS="armv7a/stage1-hardfloat.spec armv7a/stage2-hardfloat.spec armv7a/stage3-hardfloat.spec"
SET_armv7a_sf_SPECS="armv7a/stage1.spec armv7a/stage2.spec armv7a/stage3.spec"
SET_armv7a_hf_systemd_SPECS="armv7a/stage1-hardfloat-systemd.spec armv7a/stage2-hardfloat-systemd.spec armv7a/stage3-hardfloat-systemd.spec"
SET_armv7a_sf_systemd_SPECS="armv7a/stage1-systemd.spec armv7a/stage2-systemd.spec armv7a/stage3-systemd.spec"
SET_armv7a_hf_SPECS="armv7a/stage1-hardfloat.spec armv7a/stage3-hardfloat.spec"
SET_armv7a_sf_SPECS="armv7a/stage1.spec armv7a/stage3.spec"
SET_armv7a_hf_systemd_SPECS="armv7a/stage1-hardfloat-systemd.spec armv7a/stage3-hardfloat-systemd.spec"
SET_armv7a_sf_systemd_SPECS="armv7a/stage1-systemd.spec armv7a/stage3-systemd.spec"
update_symlinks() {
@ -55,6 +55,9 @@ upload() {
if [[ ${nonetwork} == 0 ]]; then
echo Uploading "$@"
rsync -e 'ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" arm@releng-incoming.gentoo.org:
else
echo Would now upload "$@"
ls -l $@
fi
}
@ -67,14 +70,38 @@ post_build() {
armv4tl/stage3.spec)
upload stage3-armv4tl-${TIMESTAMP}*.xz*
;;
armv5tel/systemd-stage3.spec)
armv4tl/stage3-systemd.spec)
upload stage3-armv4tl-systemd-${TIMESTAMP}*.xz*
;;
armv5tel/stage3.spec)
upload stage3-armv5tel-${TIMESTAMP}*.xz*
;;
armv5tel/stage3-systemd.spec)
upload stage3-armv5tel-systemd-${TIMESTAMP}*.xz*
;;
armv6j_hardfp/stage3.spec)
upload stage3-armv6j_hardfp-${TIMESTAMP}*.xz*
armv6j/stage3.spec)
upload stage3-armv6j-${TIMESTAMP}*.xz*
;;
armv7a_hardfp/stage3.spec)
upload stage3-armv7a_hardfp-${TIMESTAMP}*.xz*
armv6j/stage3-systemd.spec)
upload stage3-armv6j-systemd-${TIMESTAMP}*.xz*
;;
armv6j/stage3-hardfloat.spec)
upload stage3-armv6j-hardfloat-${TIMESTAMP}*.xz*
;;
armv6j/stage3-hardfloat-systemd.spec)
upload stage3-armv6j-hardfloat-systemd-${TIMESTAMP}*.xz*
;;
armv7a/stage3.spec)
upload stage3-armv7a-${TIMESTAMP}*.xz*
;;
armv7a/stage3-systemd.spec)
upload stage3-armv7a-systemd-${TIMESTAMP}*.xz*
;;
armv7a/stage3-hardfloat.spec)
upload stage3-armv7a-hardfloat-${TIMESTAMP}*.xz*
;;
armv7a/stage3-hardfloat-systemd.spec)
upload stage3-armv7a-hardfloat-systemd-${TIMESTAMP}*.xz*
;;
esac