X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=debdev;h=b1a36192319537acae26c469d22cc7ad79703938;hp=44cc14f009a7215c0c1fa9aeb8b432e556db2824;hb=f0b67cfbd6684fcc0ceff76aae57cb0e70e38671;hpb=0c79278618e908ea537400bc9f6a69e3f7e2e313 diff --git a/debdev b/debdev index 44cc14f..b1a3619 100755 --- a/debdev +++ b/debdev @@ -3,7 +3,7 @@ set -e schroot="$1" if [ -z "$schroot" ]; then - echo "Usage: $0 " >&2 + echo "Usage: $0 [command]" >&2 exit 1 fi @@ -11,8 +11,10 @@ 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 - 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 lptools python-keyrings.alt wget gnupg2 ubuntu-dev-tools python3-debian qemu-kvm qemu-utils + 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 -schroot -r -c session:$SESSID +shift +schroot -r -c session:$SESSID "$@"