X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;h=813e8d37d9e0aca033871e40e27f0a8140a5419f;hp=9770d437900473316e6c0518680347417da74f8b;hb=9d5c15961776e288a1838c6ca2289eb96babee17;hpb=79c98b688eaf7e6e276cc28c08a40108826bc172 diff --git a/build-debian-toolbox b/build-debian-toolbox index 9770d43..813e8d3 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -5,6 +5,7 @@ RELEASE=${1:-sid} DISTRO=${2:-debian} toolbox rm -f $RELEASE || true +podman pull docker.io/$DISTRO:$RELEASE 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 @@ -35,7 +36,10 @@ 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 ' toolbox enter --container $RELEASE