From f6be5012c4680708aa68903880147da92e1f06a1 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Thu, 17 Nov 2022 16:33:29 -0500 Subject: [PATCH] debian-installer-utils: Ensure that /run/systemd/resolve/stub-resolve.conf exists inside /target during in-target execution --- helpers/make-debian-installer-utils | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpers/make-debian-installer-utils b/helpers/make-debian-installer-utils index b544de05..c5523d31 100644 --- a/helpers/make-debian-installer-utils +++ b/helpers/make-debian-installer-utils @@ -23,12 +23,14 @@ # such packages from Debian in order to build the required udeb packages. ## -VERSION=0 +VERSION=1 EXTERNAL='deb-src http://ftp.debian.org/debian stable main' REPOKEY=648ACFD622F3D138 NETINST=true . ./config +# Ensure that /run/systemd/resolve/stub-resolve.conf exists inside /target during in-target execution +sed '/mount --bind \/run \/target\/run/amkdir -p /run/systemd/resolve; cp /etc/resolv.conf /run/systemd/resolve/stub-resolve.conf' -i chroot-setup.sh changelog "Fetch and build as udeb dependency for debian-installer." compile -- GitLab