X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;h=3b22f89f3a24e5470ad390f8fae925891434d2ac;hp=1bb7781c33e0b6b4777182524f216d91a92ac4ec;hb=a11b7fdcbea034f3c5c3432a8d6ec4c145c45a7d;hpb=41bded14baa18bf93500085503785cef1ba791e9 diff --git a/build-debian-toolbox b/build-debian-toolbox index 1bb7781..3b22f89 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -20,16 +20,24 @@ echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io apt-get update apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin + +# allow sudo with empty password +sed -i "s/nullok_secure/nullok/" /etc/pam.d/common-auth ' toolbox run --container $RELEASE sh -exc ' # otherwise installing systemd fails sudo umount /var/log/journal +# useful hostname +. /etc/os-release +echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname +sudo hostname -F /etc/hostname + sudo eatmydata apt-get -y dist-upgrade # development tools -sudo eatmydata apt-get install -y --no-install-recommends git-buildpackage libwww-perl less vim lintian debhelper manpages-dev git dput pristine-tar bash-completion python-keyrings.alt wget gnupg ubuntu-dev-tools python3-debian +sudo eatmydata apt-get install -y --no-install-recommends git-buildpackage libwww-perl less vim lintian debhelper manpages-dev git dput pristine-tar bash-completion python-keyrings.alt wget gnupg ubuntu-dev-tools python3-debian fakeroot libdistro-info-perl ' toolbox enter --container $RELEASE