X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=schrootbd;fp=schrootbd;h=0000000000000000000000000000000000000000;hp=b28079721b5f08373b1bee99467ec24ed3719bb1;hb=0732783d35a1dd9474fae2b6881f2cfcb31fa76b;hpb=92c4b53c476446e2e7475d70d54a8590bc0e6298 diff --git a/schrootbd b/schrootbd deleted file mode 100755 index b280797..0000000 --- a/schrootbd +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -set -e -schroot="$1" -pkg="$2" - -if [ -z "$pkg" ]; then - echo "Usage: $0 " >&2 - exit 1 -fi - -SESSID=$(schroot -b -c "$schroot" -n "schroot-$schroot-$pkg") -schroot -r -c session:$SESSID -u root -- apt-get -o Dpkg::Options::="--force-confnew" -y build-dep "$pkg" -echo "You will now be put into the schroot. It will NOT be cleaned up when you exit this shell!" -schroot -r -c session:$SESSID