From 8b58ac3127f7d60c72aa1528282a86ed5b8328bf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 20 Nov 2024 12:14:10 +0100 Subject: [PATCH] update rebuilder-debian.sh for current debrebuild from devscripts Signed-off-by: Holger Levsen --- worker/rebuilder-debian.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/worker/rebuilder-debian.sh b/worker/rebuilder-debian.sh index 7e2c315..8153660 100755 --- a/worker/rebuilder-debian.sh +++ b/worker/rebuilder-debian.sh @@ -1,4 +1,5 @@ #!/bin/sh set -xe -# debrebuild.py needs to be run from the repo -/debrebuild/debrebuild.py --output="${REBUILDERD_OUTDIR}" --builder=mmdebstrap --use-metasnap -- "${1}" +cd "$(dirname "$1")" +# for production it's useful to call debrebuild with --cache="$directory" +debrebuild --buildresult="${REBUILDERD_OUTDIR}" --builder=sbuild+unshare -- "${1}"