]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
extract_storage_kernel+modules.sh: Call pbuilder with --override-config
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Wed, 8 Oct 2014 13:25:38 +0000 (15:25 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Wed, 8 Oct 2014 13:25:38 +0000 (15:25 +0200)
pbuilder needs to be called with --override-config to set the APT sources.list
to the values specified in the .pbuilderrc

extract_storage_kernel+modules.sh

index 7c5cf41fabc1bc9226bc039d088515a6f631a6ea..0907bcbef4f6deef36a1bb7bfa6a6abdc2b3f6c0 100755 (executable)
@@ -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