Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
alpine-conf
Commits
1109a9bf
Commit
1109a9bf
authored
Apr 23, 2014
by
Natanael Copa
Browse files
setup-disk: comment out local repositories
fixes
#2540
parent
76aa606b
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup-disk.in
View file @
1109a9bf
...
...
@@ -253,6 +253,10 @@ install_mounted_root() {
if
[
-z
"
$APKOVL
"
]
;
then
ovlfiles
=
/tmp/ovlfiles
lbu package - |
tar
-C
"
$mnt
"
-zxv
>
"
$ovlfiles
"
# comment out local repositories
if
[
-f
"
$mnt
"
/etc/apk/repositories
]
;
then
sed
-i
-e
's:^/:#/:'
"
$mnt
"
/etc/apk/repositories
fi
else
echo
"Restoring backup from
$APKOVL
to
$rootdev
..."
unpack_apkovl
"
$APKOVL
"
"
$mnt
"
||
return
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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