summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abuild.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 37810d8..c42d4e2 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2139,6 +2139,10 @@ rootbld() {
cp /etc/abuild.conf /etc/group /etc/passwd "$BUILD_ROOT/etc"
cp /etc/apk/keys/* "$BUILD_ROOT/etc/apk/keys"
+ if options_has "net"; then
+ cp /etc/resolv.conf "$BUILD_ROOT/etc"
+ fi
+
local version="edge" buildhost="edge" gitref
if gitref="$(expr "$(git symbolic-ref --short HEAD)" : '\([0-9]\+\(\.[0-9]\+\)*\)-')"; then
version=v${gitref}