debian-installer-utils: Ensure that /run/systemd/resolve/stub-resolve.conf exists inside /target during in-target execution
This commit is contained in:
parent
8f4bf631ab
commit
f6be5012c4
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue