Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
abuild
Commits
051d2ced
Commit
051d2ced
authored
Mar 08, 2018
by
Ariadne Conill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rootbld: if networking is enabled, copy resolv.conf into the build root
parent
f1dfa554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
abuild.in
abuild.in
+4
-0
No files found.
abuild.in
View file @
051d2ced
...
@@ -2139,6 +2139,10 @@ rootbld() {
...
@@ -2139,6 +2139,10 @@ rootbld() {
cp
/
etc
/
abuild
.
conf
/
etc
/
group
/
etc
/
passwd
"$BUILD_ROOT/etc"
cp
/
etc
/
abuild
.
conf
/
etc
/
group
/
etc
/
passwd
"$BUILD_ROOT/etc"
cp
/
etc
/
apk
/
keys
/*
"$BUILD_ROOT/etc/apk/keys"
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
local
version
=
"edge"
buildhost
=
"edge"
gitref
if
gitref
=
"$(expr "
$(
git
symbolic
-
ref
--
short
HEAD
)
" : '\([0-9]\+\(\.[0-9]\+\)*\)-')"
;
then
if
gitref
=
"$(expr "
$(
git
symbolic
-
ref
--
short
HEAD
)
" : '\([0-9]\+\(\.[0-9]\+\)*\)-')"
;
then
version
=
v
${
gitref
}
version
=
v
${
gitref
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment