]> piware.de Git - bin.git/blobdiff - schrootbd
Drop obsolete scripts
[bin.git] / schrootbd
diff --git a/schrootbd b/schrootbd
deleted file mode 100755 (executable)
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 <schroot> <srcpkg>" >&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