From c64cf37fbd633a610b9be03de08593939546b01d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 1 Sep 2018 22:12:47 +0200 Subject: alpine-amd64: trying to build something --- jobs/alpine-amd64.run | 55 ++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 11 deletions(-) (limited to 'jobs') diff --git a/jobs/alpine-amd64.run b/jobs/alpine-amd64.run index 83c6717..4ae8e87 100755 --- a/jobs/alpine-amd64.run +++ b/jobs/alpine-amd64.run @@ -9,30 +9,63 @@ if [ -n "$CLEAN" ]; then exit 0 fi +cat >abuild-system.conf < .abuild/abuild.conf EEOF + uroot cp ~/alpinelinux.rsa.key "$ROOT/home/build/.abuild/key.rsa" + uroot cp abuild-system.conf "$ROOT/etc/abuild.conf" fi echo_stage "Update system" - uchroot "$WORKSPACE/root" /bin/sh -ce 'apk update && apk upgrade' + uchroot "$ROOT" root /bin/sh -ce 'apk update && apk upgrade' echo_stage "Update package sources" - # TODO -EOF + git_clone "git@cynerd.cz:alpine-personal-pkgs" "aports" + uroot rm -rf "$ROOT/home/build/aports" + uroot mv aports "$ROOT/home/build/aports" + uchroot "$ROOT" root chown -R build:build /home/build/aports -# TODO + echo_stage "Build packages" + # TODO generate list of repositories automatically + uchroot "$ROOT" build:build buildrepo --purge personal hacked +EOF -- cgit v1.2.3