From d802c8aecc3efb8dbd1a9158a0cc77e61013c6c9 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 3 Oct 2020 18:04:13 +0200 Subject: [PATCH] build-devtoolbox: Fix resolv.conf link systemd %postun creates the link to resolved's file, which does not exist in the container. --- build-devtoolbox | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5