diff options
author | Olof Johansson <olof.johansson@axis.com> | 2016-01-19 14:45:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-19 17:40:20 +0000 |
commit | 0916235adf36f5c7d3d4b2f613ef9ff8b690f983 (patch) | |
tree | 721c9d203dec02b456b9e5ed073422f132711072 /meta-yocto-bsp/recipes-bsp | |
parent | 2dbd61f242299de2c687a3042656b3a8c3553a04 (diff) | |
download | poky-0916235adf36f5c7d3d4b2f613ef9ff8b690f983.tar.gz |
rpm: remove bashisms: [ x == x ] -> [ x = x ]
The postinst and postrm of rpm contained a bashism, that could in some
situations potentially cause ldconfig not be triggered when it should
be. If you use dash on host, test would fail because of syntax errors.
But on host, it should fail because of the comparison. On target, you
often use busybox ash, and it supports == as an alias for =. So in
practice, only if you use a shell like dash on target, you'll run into
issues with this.
(From OE-Core rev: 4fd33ca846ba9f61e72a176a6462443c9fb5ddc2)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/recipes-bsp')
0 files changed, 0 insertions, 0 deletions