strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3acc0a
)
testing: Copy /etc/resolv.conf from host in chroot script
author
Tobias Brunner
<tobias@strongswan.org>
Fri, 18 Dec 2020 13:18:47 +0000
(14:18 +0100)
committer
Tobias Brunner
<tobias@strongswan.org>
Thu, 11 Feb 2021 15:41:06 +0000
(16:41 +0100)
This makes installing packages etc. easier.
testing/scripts/chroot
patch
|
blob
|
history
diff --git
a/testing/scripts/chroot
b/testing/scripts/chroot
index
4f42455
..
665a6ba
100755
(executable)
--- a/
testing/scripts/chroot
+++ b/
testing/scripts/chroot
@@
-57,6
+57,10
@@
log_action "Mounting $SHAREDDIR as /root/shared"
execute "mount -o bind $SHAREDDIR $LOOPDIR/root/shared"
do_on_exit umount $LOOPDIR/root/shared
+log_action "Copy /etc/resolv.conf"
+execute "cp /etc/resolv.conf $LOOPDIR/etc/resolv.conf"
+do_on_exit rm $LOOPDIR/etc/resolv.conf
+
if [ -n "$affected" ]; then
echo
echo "Rebuild the $affected images after making changes to this image!"