summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorAlice Frosi <alice@linux.vnet.ibm.com>2018-01-30 14:38:28 +0100
committerCornelia Huck <cohuck@redhat.com>2018-02-09 09:37:13 +0100
commit12f15c9155b31fc9f964a5233b0fbec9196f56f3 (patch)
treeb37bce68191376099138203cd72756ee63d352dc /hw/intc
parent008a51bbb343972dd8cf09126da8c3b87f4e1c96 (diff)
downloadfocaccia-qemu-12f15c9155b31fc9f964a5233b0fbec9196f56f3.tar.gz
focaccia-qemu-12f15c9155b31fc9f964a5233b0fbec9196f56f3.zip
Fix configure for s390 qemu on alpine and other busybox environments
In alpine docker image the qemu-system-s390x build is broken and
it throws this error:
qemu-system-s390x: Initialization of device s390-ipl failed: could not
load bootloader 's390-ccw.img'

The grep command of busybox uses regex. This fails on binary data
(e.g. stops on every \0), so it does not identify the string
BiGeNdIaN in the test case big/little. Therefore, it assumes
that the architecture is little endian.

This fix solves the grep problem by printing the content of
TMPO with strings

Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
[some changes to patch description, add -a option to strings]
Message-Id: <20180130133828.77336-2-borntraeger@de.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions