From: Martin Pitt Date: Sat, 3 Oct 2020 16:04:13 +0000 (+0200) Subject: build-devtoolbox: Fix resolv.conf link X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=d802c8aecc3efb8dbd1a9158a0cc77e61013c6c9;p=bin.git build-devtoolbox: Fix resolv.conf link systemd %postun creates the link to resolved's file, which does not exist in the container. --- diff --git a/build-devtoolbox b/build-devtoolbox index 8395461..07dc221 100755 --- a/build-devtoolbox +++ b/build-devtoolbox @@ -20,6 +20,7 @@ echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname sudo hostname -F /etc/hostname sudo dnf update -y +sudo ln -sfn ../run/host/run/NetworkManager/resolv.conf /etc/resolv.conf # this just refuses to rpm -i normally sudo dnf install -y cpio