Skip to content
GitLab
Menu
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
f26201d9
Commit
f26201d9
authored
Apr 07, 2011
by
Natanael Copa
Browse files
setup-disk: use new apk-tools locations
parent
bfc9332b
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup-disk.in
View file @
f26201d9
...
...
@@ -213,7 +213,7 @@ install_mounted_root() {
EOF
# remove the installed db in case its there so we force re-install
rm
-f
"
$mnt
"
/var/lib/apk/installed
rm
-f
"
$mnt
"
/var/lib/apk/installed
"
$mnt
"
/lib/apk/db/installed
echon
"Installing system on
$rootdev
: "
# apk reads config from target root so we need to copy the config
mkdir
-p
"
$mnt
"
/etc/apk/keys/
...
...
@@ -221,7 +221,7 @@ EOF
local
apkflags
=
"--quiet --progress --update-cache --clean-protected"
local
pkgs
=
$(
cat
"
$mnt
"
/var/lib/apk/world
)
local
pkgs
=
$(
cat
"
$mnt
"
/etc/apk/world
"
$mnt
"
/var/lib/apk/world
2>/dev/null
)
pkgs
=
"
$pkgs
acct linux-
$KERNEL_FLAVOR
alpine-base"
local
repos
=
$(
sed
-e
's/\#.*//'
/etc/apk/repositories
)
local
repoflags
=
...
...
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