diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-17 17:44:34 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-17 18:00:39 +0200 |
commit | 5f4298639b889485781404e708517bd1bfd6b9fa (patch) | |
tree | a636e636141d1e39ec7e2b3607c2e63a673bc01e /main/openrc/0005-hide-error-when-migrating-var-run-to-run.patch | |
parent | 67c11a490af8cf792bcdd7d9316bc4c6ac4fba31 (diff) | |
download | aports-5f4298639b889485781404e708517bd1bfd6b9fa.tar.bz2 aports-5f4298639b889485781404e708517bd1bfd6b9fa.tar.xz |
main/openrc: use git format-patches as in main/busybox
Don't bump pkgrel since the resulting binary should be identical.
Diffstat (limited to 'main/openrc/0005-hide-error-when-migrating-var-run-to-run.patch')
-rw-r--r-- | main/openrc/0005-hide-error-when-migrating-var-run-to-run.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/openrc/0005-hide-error-when-migrating-var-run-to-run.patch b/main/openrc/0005-hide-error-when-migrating-var-run-to-run.patch new file mode 100644 index 0000000000..bc096195d6 --- /dev/null +++ b/main/openrc/0005-hide-error-when-migrating-var-run-to-run.patch @@ -0,0 +1,28 @@ +From 1cbf5a9babbe35de0791c6ccc7e02c3553682300 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed, 17 Aug 2016 17:18:21 +0200 +Subject: [PATCH 5/7] hide error when migrating /var/run to /run + +The script tries to copy non-existing files. We simply hide the error + +http://bugs.alpinelinux.org/issues/3160 +--- + init.d/bootmisc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in +index efc1c57..6e473ad 100644 +--- a/init.d/bootmisc.in ++++ b/init.d/bootmisc.in +@@ -112,7 +112,7 @@ migrate_to_run() + rm $src + elif [ ! -L $src -a -d $src ]; then + ebegin "Migrating $src to $dst" +- cp -a $src/* $dst/ ++ cp -a $src/* $dst/ 2>/dev/null + rm -rf $src + eend $? + fi +-- +2.9.3 + |