Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/
Date: Mon, 08 Apr 2019 02:52:37
Message-Id: 1554690581.b86a3a0d6f91117377f3a339e61ff389eb3a25d1.tamiko@gentoo
1 commit: b86a3a0d6f91117377f3a339e61ff389eb3a25d1
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 8 01:48:29 2019 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 8 02:29:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86a3a0d
7
8 app-emulation/qemu: synchronize live ebuild
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 app-emulation/qemu/qemu-9999.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild
17 index 69e36290636..dbfe40f3575 100644
18 --- a/app-emulation/qemu/qemu-9999.ebuild
19 +++ b/app-emulation/qemu/qemu-9999.ebuild
20 @@ -641,9 +641,11 @@ generate_initd() {
21 sparc*) qcpu="sparc";;
22 esac
23
24 + # we use 'printf' here to be portable across 'sh'
25 + # implementations: #679168
26 cat <<EOF >>"${out}"
27 if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
28 - echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
29 + printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
30 fi
31 EOF