From 0cca304c3f53ec8b513a0519a7961a56d5303af1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 6 Apr 2014 13:38:02 +0200 Subject: install build-depends if debian/control exists --- bin/chroot-run.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/chroot-run.sh') diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index a0f0dd43..436d57ea 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -85,6 +85,11 @@ run() { cat > $CHROOT_TARGET/tmp/chroot-testrun <<-EOF $SCRIPT_HEADER cd /testrun +if [ -f debian/control ] ; then + # install build-depends + apt-get -y install build-essential devscripts + mk-build-deps -ir +fi $@ EOF chmod +x $CHROOT_TARGET/tmp/chroot-testrun -- cgit v1.2.3-70-g09d2