diff options
Diffstat (limited to 'debug/testrun.sh')
-rwxr-xr-x | debug/testrun.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debug/testrun.sh b/debug/testrun.sh new file mode 100755 index 0000000..2329cf5 --- /dev/null +++ b/debug/testrun.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +DOCKER=podman + +mkdir -p testrun/pkgout + +CHOWN_TO="$USER" +OUTPUT="$(pwd)/testrun/pkgout" + +#./build.sh + +$DOCKER run --userns=host --name archpkg-test --env PACKAGE_NAME=minipro \ + --env FORCE_REBUILD=yes --env CHOWN="$(id -u "$CHOWN_TO"):$(id -g "$CHOWN_TO")" \ + -v "$OUTPUT:/pkgout:z" \ + aurbuilder + +$DOCKER rm archpkg-test |