X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fdchroot.creole;h=a543ac47113f6bda9dac218c8a01fad38c64e4c9;hb=4fae6a459ad0028516f6fbcd5fff4a45ff9de96d;hp=1f38d61befc6ec4815ead5e823c015d8aa8e5f51;hpb=2d843b8eb0ebaf693a2c65b7b95ba13ce700ec6c;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/dchroot.creole b/input/howto/dchroot.creole index 1f38d61..a543ac4 100644 --- a/input/howto/dchroot.creole +++ b/input/howto/dchroot.creole @@ -16,7 +16,7 @@ Do the following as root: {{{ cd /srv/chroot && mkdir $DIST && - debootstrap --keyring /usr/share/keyrings/debian-archive-keyring.gpg --variant=buildd $DIST ./$DIST http://$MIRROR/debian && + debootstrap --keyring /usr/share/keyrings/debian-archive-keyring.gpg --include="apt" --variant=buildd $DIST ./$DIST http://$MIRROR/debian && cp /etc/hosts $DIST/etc/ }}} @@ -73,9 +73,9 @@ EOF # #*) setup nsswitch.conf to properly use the ldap stuff apt-get install libnss-db && - sed -i -e 's/^passwd:[[:space:]]\+compat$/passwd: compat db/; - s/^group:[[:space:]]\+compat$/group: db compat/; - s/^shadow:[[:space:]]\+compat$/shadow: compat db/' \ + sed -i -e 's/^passwd:\[[:space:]]\+compat$/passwd: compat db/; + s/^group:\[[:space:]]\+compat$/group: db compat/; + s/^shadow:\[[:space:]]\+compat$/shadow: compat db/' \ /etc/nsswitch.conf # #