From 963e7a6b71d253d032ca18082bd4f8f202b597e2 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 4 Apr 2017 09:52:17 +0200 Subject: [PATCH] debdev: install and fix sudo --- debdev | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debdev b/debdev index 3854c5c..f5ec8ff 100755 --- a/debdev +++ b/debdev @@ -11,10 +11,10 @@ SESSID="schroot-debdev-$schroot" if ! schroot -la | grep -q "session:$SESSID"; then schroot -b -c "$schroot" -n "$SESSID" echo 'LANG=C.UTF-8' | schroot -r -c session:$SESSID -u root -- tee -a /etc/default/locale - 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 + 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 sudo #sudo mount -o bind /etc/schroot/ $(schroot --location -c session:$SESSID)/etc/schroot/ #sudo mount -o bind /srv/ $(schroot --location -c session:$SESSID)/srv - #schroot -r -c session:$SESSID -u root -- mount -o remount,suid,dev / - #schroot -r -c session:$SESSID -u root -- mount -o remount,suid,dev /tmp + schroot -r -c session:$SESSID -u root -- mount -o remount,suid,dev / + schroot -r -c session:$SESSID -u root -- mount -o remount,suid,dev /tmp fi schroot -r -c session:$SESSID -- 2.39.5