]> piware.de Git - bin.git/commitdiff
build-*-toolbox: Drop resolv.conf workaround
authorMartin Pitt <martin@piware.de>
Tue, 1 Sep 2020 05:16:43 +0000 (07:16 +0200)
committerMartin Pitt <martin@piware.de>
Tue, 1 Sep 2020 05:16:43 +0000 (07:16 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1785244 got fixed in toolbox
0.0.95.

build-debian-toolbox
build-devtoolbox

index f978ee15d039244977337ede51e6bc00a217db75..e1b8578374ac79ecb3d414890bb2b4692e93314e 100755 (executable)
@@ -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
 
index ce814a6defe77ba320515fca445436ccd0b9ef63..22537302b880521a0c996e36b9ee3225665f062f 100755 (executable)
@@ -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