]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: modify check for shell
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 15 Mar 2017 19:39:12 +0000 (12:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 May 2017 12:04:45 +0000 (13:04 +0100)
commit3f2bc735e514b27a21ac47524fe0c5ca16e19dd7
tree04feb6f86c72ef796a407214fe92d8a8f2afed63
parent854fff614059100494326adeec7c48fa5272d080
sanity.bbclass: modify check for shell

Due to the recently implemented update-alternatives for bash binary,
sanity checker may end up with a (false-positive) error such as:

Error, /bin/sh links to /bin/bash.bash, must be dash or bash

This patch modifies the test: presence of "/bash" or "/dash" in shell binary
name results in pass.

[YOCTO#11108]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/sanity.bbclass