X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;h=13ee84dba55fd4fd8442a29aeff5bab68937259c;hp=85b4cb3aaf0fd5a4f72bf85b69dd366146958e6f;hb=6c6be615a01e1c9cf838a6288242ae3642ee5a05;hpb=114d399ef88cb61453a519ccc5ba2937458b2479 diff --git a/build-debian-toolbox b/build-debian-toolbox index 85b4cb3..13ee84d 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -14,8 +14,8 @@ podman exec -it $RELEASE sh -exc ' # go-faster apt/dpkg echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io -# location based redirector gets it wrong with company VPN; also add deb-src -sed -i "s/deb.debian.org/ftp.de.debian.org/; /^deb\b/ { p; s/^deb/deb-src/ }" /etc/apt/sources.list +# otherwise installing systemd fails +umount /var/log/journal apt-get update apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin @@ -25,9 +25,6 @@ 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:-sid}" | sudo tee /etc/hostname @@ -36,7 +33,7 @@ sudo hostname -F /etc/hostname sudo eatmydata apt-get -y dist-upgrade # development tools -sudo eatmydata apt-get install -y --no-install-recommends build-essential 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 +sudo eatmydata apt-get install -y --no-install-recommends build-essential 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 openssh-client # autopkgtest sudo eatmydata apt-get install -y --no-install-recommends autopkgtest qemu-system-x86 qemu-utils genisoimage