diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-08-12 18:28:19 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-08-12 18:28:19 +0100 |
commit | ed50c30b00535e5e8193f5901263e0cf78b47f05 (patch) | |
tree | 248a7f9bec24d956255d1d9bd8a53d2e2176eb1e /jenkinstool | |
parent | 4e0f36974c692b296974922b16d9fc20effe0e8b (diff) | |
download | jenkinstool-ed50c30b00535e5e8193f5901263e0cf78b47f05.tar.gz |
Build with pbuilder, not debuild
This is needed for clean builds.
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkinstool b/jenkinstool index 6275cec..a7bbfd4 100755 --- a/jenkinstool +++ b/jenkinstool @@ -311,10 +311,10 @@ curdir="$(pwd)" temp="$(mktemp -d)" cd "$temp" dget -u "$poolurl/$subdir/$sourcepkg/$dsc" -cd */. -debuild -us -uc $binopt -cd .. -dput "%(global.dput-host)s" "${sourcepkg}_${version}-1_%(host.arch)s.changes" +mkdir result +sudo pbuilder --build --buildresult result --debbuildopts $binopt *.dsc +dput "%(global.dput-host)s" \ + "result/${sourcepkg}_${version}-1_%(host.arch)s.changes" cd "$curdir" rm -rf "$temp" ''') |