aports/main/openrc/hide-migrate-to-run-error.patch
Natanael Copa 0c206a6e3e main/openrc: hide error when migrating /var/run to /run
The script tries to copy non-existing files. We simply hide the error
ref #3160
2014-07-16 07:29:20 +00:00

14 lines
323 B
Diff

See http://bugs.alpinelinux.org/issues/3160
--- openrc-0.12.4.orig/init.d/bootmisc.in
+++ openrc-0.12.4/init.d/bootmisc.in
@@ -105,7 +105,7 @@
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