home: hub: mkinitfs

Download patch

ref: bf94c9b9aa7884fc50d3110d69e2d28e413159ed
parent: 13f32619e1135197ddac9880761ea312e41e0a1d
author: Natanael Copa <ncopa@alpinelinux.org>
date: Tue Nov 24 06:23:38 CST 2009

init: never overwrite existing files

ref #197

--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -372,7 +372,7 @@
 fi
 apkflags="--initdb --quiet --progress --force --no-network"
 if [ -z "$KOPT_keep_apk_new" ]; then
-	apkflags="$apkflags --clean-protected"
+	apkflags="$apkflags --clean-protected --never-overwrite"
 fi
 apk add --root $sysroot $repo_opt $apkflags $pkgs >/dev/null
 eend $?