diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-13 13:56:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-13 14:54:11 +0000 |
commit | 554dd8a46183be92961965dcbacd022236f4e7b3 (patch) | |
tree | f9836b05d7d39fb59183c1dd62e79f073dda853d /setup-alpine.in | |
parent | 2d40c0f4649bb3713283d210707f3fdf34cf1ddd (diff) | |
download | alpine-conf-554dd8a46183be92961965dcbacd022236f4e7b3.tar.bz2 alpine-conf-554dd8a46183be92961965dcbacd022236f4e7b3.tar.xz |
setup-apkcache: new setup tool
A tool to setup the apk cache. This and setup-lbu replaces the
setup-apklbu tool.
Diffstat (limited to 'setup-alpine.in')
-rwxr-xr-x | setup-alpine.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/setup-alpine.in b/setup-alpine.in index ce9b138..0de96b4 100755 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -88,7 +88,9 @@ NTPOPTS="-c openntpd" DISKOPTS="-m data /dev/sda" # Setup in /media/sdb1 -APKLBUOPTS="-m sdb1" +LBUOPTS="/media/sdb1" +APKCACHEOPTS="/media/sdb1/cache" + __EOF__ echo "Answer file $CREATEANSWERFILE has been created. Please add or remove options as desired in that file" exit 0 @@ -155,5 +157,6 @@ DEFAULT_DISK=none \ $PREFIX/sbin/setup-disk -q ${DISKOPTS} if [ "`cat /tmp/alpine-install-diskmode.out`" != "sys" ]; then - $PREFIX/sbin/setup-apklbu -i ${APKLBUOPTS} + $PREFIX/sbin/setup-lbu ${LBUOPTS} + $PREFIX/sbin/setup-apkcache ${APKCACHEOPTS} fi |