X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;h=821b52b91411e29567eeab944a9fb649b695b8cc;hp=3b22f89f3a24e5470ad390f8fae925891434d2ac;hb=feddef9e0e30698bc4da448206d13902961d99eb;hpb=64f593d8daa1050034aebf264edbfa2245298589 diff --git a/build-debian-toolbox b/build-debian-toolbox index 3b22f89..821b52b 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -10,7 +10,7 @@ toolbox -y create -c $RELEASE --image docker.io/$DISTRO:$RELEASE # can't do that with toolbox run yet, as we need to install sudo first podman start $RELEASE podman exec -it $RELEASE sh -exc ' -# https://bugzilla.redhat.com/show_bug.cgi?id=1785244 +# https://bugzilla.redhat.com/show_bug.cgi?id=1785244, https://github.com/containers/toolbox/pull/380 if [ ! -e /etc/resolv.conf ]; then ln -sfn /run/host/monitor/resolv.conf /etc/resolv.conf fi @@ -31,13 +31,13 @@ sudo umount /var/log/journal # useful hostname . /etc/os-release -echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname +echo "${ID}-${VERSION_ID:-sid}" | 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 fakeroot libdistro-info-perl +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 wget gnupg ubuntu-dev-tools python3-debian fakeroot libdistro-info-perl ' toolbox enter --container $RELEASE