aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-12-16 10:11:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-16 10:26:15 +0000
commit749e1e0f659bf7b9538d9c7478b6a191f8c94ea6 (patch)
treedc620755882dd543e3c97de119777740416f3893 /scripts
parent40dcf3f65018306cbcb0f48d631f9b438ef7451c (diff)
downloadaports-749e1e0f659bf7b9538d9c7478b6a191f8c94ea6.tar.bz2
aports-749e1e0f659bf7b9538d9c7478b6a191f8c94ea6.tar.xz
scripts/genrootfs: add --no-cache when fetching alpine-base
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/genrootfs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh
index 9c9df40bb1..ac760e6e0d 100755
--- a/scripts/genrootfs.sh
+++ b/scripts/genrootfs.sh
@@ -27,17 +27,17 @@ if [ -z "$outfile" ]; then
outfile=$name-$arch.tar.gz
fi
-${APK:-apk} add --keys-dir "$keys_dir" \
+${APK:-apk} add --keys-dir "$keys_dir" --no-cache \
--repositories-file "$repositories_file" \
- --no-script --no-cache --root "$tmp" --initdb \
+ --no-script --root "$tmp" --initdb \
"$@"
for link in $("$tmp"/bin/busybox --list-full); do
[ -e "$tmp"/$link ] || ln -s /bin/busybox "$tmp"/$link
done
-${APK:-apk} fetch --keys-dir "$keys_dir" \
+${APK:-apk} fetch --keys-dir "$keys_dir" --no-cache \
--repositories-file "$repositories_file" \
- --stdout alpine-base | tar -zx -C "$tmp" etc/
+ --stdout --quiet alpine-base | tar -zx -C "$tmp" etc/
branch=edge
VERSION_ID=$(awk -F= '$1=="VERSION_ID" {print $2}' "$tmp"/etc/os-release)