From: Benjamin Drung Date: Wed, 8 Oct 2014 13:25:38 +0000 (+0200) Subject: extract_storage_kernel+modules.sh: Call pbuilder with --override-config X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=86da63b0f33168e79bea57ceaff0e833fce3bf92;p=profitbricks%2Fjenkins-build-scripts.git extract_storage_kernel+modules.sh: Call pbuilder with --override-config pbuilder needs to be called with --override-config to set the APT sources.list to the values specified in the .pbuilderrc --- diff --git a/extract_storage_kernel+modules.sh b/extract_storage_kernel+modules.sh index 7c5cf41..0907bcb 100755 --- a/extract_storage_kernel+modules.sh +++ b/extract_storage_kernel+modules.sh @@ -120,7 +120,7 @@ sed -i -s "s|###|$|g" $BUILD_SCRIPT # # run $BUILD_SCRIPT in chroot environment # -sudo pbuilder --execute --bindmounts $TARGET_BASE -- $BUILD_SCRIPT +sudo pbuilder --execute --override-config --bindmounts $TARGET_BASE -- $BUILD_SCRIPT rm $BUILD_SCRIPT set +x