]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: modify check for shell
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 15 Mar 2017 16:37:39 +0000 (09:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Mar 2017 17:36:10 +0000 (17:36 +0000)
commitef51746cdd12e6b08109e9bd90a0a465c3f9f93c
tree1e5600da9764683e641a3a72484ba73477baad35
parent2ce9962851fe58c099599679340fd87e90f426ec
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: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass