From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QgpRK-0003PW-3C for openembedded-core@lists.openembedded.org; Wed, 13 Jul 2011 04:44:42 +0200 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 12 Jul 2011 19:36:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,523,1304319600"; d="scan'208";a="27005297" Received: from unknown (HELO scimitar.amr.corp.intel.com) ([10.255.13.215]) by orsmga001.jf.intel.com with ESMTP; 12 Jul 2011 19:36:59 -0700 From: Joshua Lock To: openembedded-core@lists.openembedded.org Date: Tue, 12 Jul 2011 19:36:52 -0700 Message-Id: <4ec4b3b4118b5fcc84d3c5c43e6c9aca4b239558.1310524498.git.josh@linux.intel.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: References: In-Reply-To: References: Subject: [PATCH 2/2] scripts/hob: wrapper script to run hob gui with a UI specific config file X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2011 02:44:42 -0000 This ensures any configuration changes made in the GUI are only set when using hob. The default hob.local.conf is generated with a line which adds image_types to INHERITS so that the GUI can introspect the available FSTYPES. Signed-off-by: Joshua Lock --- scripts/hob | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) create mode 100755 scripts/hob diff --git a/scripts/hob b/scripts/hob new file mode 100755 index 0000000..19930ba --- /dev/null +++ b/scripts/hob @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +if ! (test -r "$BUILDDIR/conf/hob.local.conf"); then + cat < conf/hob.local.conf +fi + +bitbake -R conf/hob.local.conf -t xmlrpc -u hob + +ret=$? +exit $ret -- 1.7.6