]> piware.de Git - bin.git/commitdiff
debdev: updates
authorMartin Pitt <martin@piware.de>
Sat, 29 Jul 2017 20:47:47 +0000 (22:47 +0200)
committerMartin Pitt <martin@piware.de>
Sat, 29 Jul 2017 20:47:47 +0000 (22:47 +0200)
debdev

diff --git a/debdev b/debdev
index 3724948fdefff17b0f94bed6c2645c51d59e0e4d..44cc14f009a7215c0c1fa9aeb8b432e556db2824 100755 (executable)
--- a/debdev
+++ b/debdev
@@ -10,8 +10,9 @@ fi
 SESSID="schroot-debdev-$schroot"
 if ! schroot -la | grep -q "session:$SESSID"; then
     schroot -b -c "$schroot" -n "$SESSID"
 SESSID="schroot-debdev-$schroot"
 if ! schroot -la | grep -q "session:$SESSID"; then
     schroot -b -c "$schroot" -n "$SESSID"
-    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
+    # 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
     #sudo mount -o bind /etc/schroot/ $(schroot --location -c session:$SESSID)/etc/schroot/
     #sudo mount -o bind /etc/schroot/ $(schroot --location -c session:$SESSID)/etc/schroot/
-    #sudo mount -o bind /srv/ $(schroot --location -c session:$SESSID)/srv
 fi
 schroot -r -c session:$SESSID
 fi
 schroot -r -c session:$SESSID