diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-24 12:26:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-24 12:26:43 +0000 |
commit | 5641ee0f55fad238521791999e00d8f0ed1f1431 (patch) | |
tree | 67c782228cca0edfd03e80756281824d37471f3b /main/mkinitfs/0001-init-never-overwrite-existing-files.patch | |
parent | 5e5a560508e8f572032a69c2e52f9240d835f287 (diff) | |
download | aports-5641ee0f55fad238521791999e00d8f0ed1f1431.tar.bz2 aports-5641ee0f55fad238521791999e00d8f0ed1f1431.tar.xz |
main/mkinitfs: use --never-overwrite apk option
fixes #197
Diffstat (limited to 'main/mkinitfs/0001-init-never-overwrite-existing-files.patch')
-rw-r--r-- | main/mkinitfs/0001-init-never-overwrite-existing-files.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/mkinitfs/0001-init-never-overwrite-existing-files.patch b/main/mkinitfs/0001-init-never-overwrite-existing-files.patch new file mode 100644 index 0000000000..970b13a0ab --- /dev/null +++ b/main/mkinitfs/0001-init-never-overwrite-existing-files.patch @@ -0,0 +1,26 @@ +From bf94c9b9aa7884fc50d3110d69e2d28e413159ed Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Tue, 24 Nov 2009 12:23:38 +0000 +Subject: [PATCH] init: never overwrite existing files + +ref #197 +--- + initramfs-init.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/initramfs-init.in b/initramfs-init.in +index 04798de..bd97ace 100755 +--- a/initramfs-init.in ++++ b/initramfs-init.in +@@ -372,7 +372,7 @@ if [ -n "$KOPT_chart" ]; then + 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 $? +-- +1.6.5.3 + |