From patchwork Fri Oct 26 14:37:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] lsb_release: add sanity to avoid Unknown Date: Fri, 26 Oct 2012 14:37:17 -0000 From: Mihai Lindner X-Patchwork-Id: 38609 Message-Id: <040de77b972b11336e88c593cf2a7571977347db.1351261721.git.mihaix.lindner@linux.intel.com> To: openembedded-core@lists.openembedded.org Check for lsb_release command (package name should be lsb-release for most package managers) to avoid "Unknown" Linux distributions, untested distro warnings and "Unknown" dir in ./sstate-cache/ Also add lsb-release in host's software needs, Fedora and CentOS for now. Signed-off-by: Mihai Lindner --- documentation/poky.ent | 4 ++-- meta/classes/sanity.bbclass | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/poky.ent b/documentation/poky.ent index 8e0af71..ae8e70e 100644 --- a/documentation/poky.ent +++ b/documentation/poky.ent @@ -50,8 +50,8 @@ +cpp gcc gcc-c++ eglibc-devel texinfo chrpath ccache lsb-release"> +cpp gcc gcc-c++ glibc-devel texinfo chrpath lsb-release"> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 3806bc5..f0cc11c 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -2,7 +2,7 @@ # Sanity check the users setup for common misconfigurations # -SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar gzip gawk chrpath wget cpio" +SANITY_REQUIRED_UTILITIES ?= "bzip2 chrpath cpio diffstat gawk git gzip lsb_release makeinfo patch tar wget" python check_bblayers_conf() { bblayers_fn = os.path.join(d.getVar('TOPDIR', True), 'conf/bblayers.conf')