X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=debdev;fp=debdev;h=0000000000000000000000000000000000000000;hp=b1a36192319537acae26c469d22cc7ad79703938;hb=747c7671b1a806f4809ba15aa3c95e56a2269637;hpb=3a7de2797f4233bb9ecc9db957d3393cac158aad diff --git a/debdev b/debdev deleted file mode 100755 index b1a3619..0000000 --- a/debdev +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -set -e -schroot="$1" - -if [ -z "$schroot" ]; then - echo "Usage: $0 [command]" >&2 - exit 1 -fi - -SESSID="schroot-debdev-$schroot" -if ! schroot -la | grep -q "session:$SESSID"; then - schroot -b -c "$schroot" -n "$SESSID" - # work around for system groups - schroot -r -c session:$SESSID -u root -- addgroup --system staff || true - schroot -r -c session:$SESSID -u root -- apt-get install --no-install-recommends -o Dpkg::Options::="--force-confnew" -y git-buildpackage libwww-perl less vim lintian debhelper manpages-dev git dput pristine-tar bash-completion libnss-myhostname wget gnupg ubuntu-dev-tools python3-debian qemu-kvm qemu-utils - schroot -r -c session:$SESSID -u root -- apt-get install -y locales-all || true - #sudo mount -o bind /etc/schroot/ $(schroot --location -c session:$SESSID)/etc/schroot/ -fi -shift -schroot -r -c session:$SESSID "$@"