[OE-core] [PATCH 1/1] systemd: ignore qemu output, and check its return code

Burton, Ross ross.burton at intel.com
Wed Aug 7 11:55:17 UTC 2013


On 7 August 2013 08:30, Rongqing Li <rongqing.li at windriver.com> wrote:
>>                 ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')}
>> hwdb --update \
>> -                       --root $D
>> +                       --root $D 2>/dev/null
>> +
>> +               [ $? -ne 0 ] && exit 1

The $? check can be removed replaced by set -e, as many postinst
scripts do already.

Why/where is the output from runqemu considered an error?  I wasn't
aware that logs were monitored for that error message.  I don't think
we should be hiding the output of runqemu as any real errors will also
be hidden.

Ross



More information about the Openembedded-core mailing list