From 3ba8040b33aacbed853fa501fa2d6585beeb6715 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 1 Sep 2020 07:16:43 +0200 Subject: [PATCH] build-*-toolbox: Drop resolv.conf workaround https://bugzilla.redhat.com/show_bug.cgi?id=1785244 got fixed in toolbox 0.0.95. --- build-debian-toolbox | 5 ----- build-devtoolbox | 5 ----- 2 files changed, 10 deletions(-) diff --git a/build-debian-toolbox b/build-debian-toolbox index f978ee1..e1b8578 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -10,11 +10,6 @@ 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://github.com/containers/toolbox/pull/380 -if [ ! -e /etc/resolv.conf ]; then - ln -sfn /run/host/monitor/resolv.conf /etc/resolv.conf -fi - # go-faster apt/dpkg echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io diff --git a/build-devtoolbox b/build-devtoolbox index ce814a6..2253730 100755 --- a/build-devtoolbox +++ b/build-devtoolbox @@ -14,11 +14,6 @@ yes | toolbox create $RELEASE -c $NAME # install cockpit's build deps and other development tools toolbox run -c "$NAME" sh -exc ' -# https://bugzilla.redhat.com/show_bug.cgi?id=1785244 -if [ ! -e /etc/resolv.conf ]; then - sudo ln -sfn /run/host/monitor/resolv.conf /etc/resolv.conf -fi - # useful hostname . /etc/os-release echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname -- 2.39.2