All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH V2 5/8] oe-publish-sdk: add pyshtables.py to .gitignore
Date: Tue, 13 Dec 2016 23:24:33 -0800	[thread overview]
Message-ID: <3b1e2869c4215512d924b5c639de758e5315a87f.1481700149.git.liezhi.yang@windriver.com> (raw)
In-Reply-To: <cover.1481700149.git.liezhi.yang@windriver.com>

Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake core-image-minimal -cpopulate_sdk_ext
[snip]
ERROR: Failed to update metadata as there have been changes made to it. Aborting.\nERROR: Changed files:\nb' M poky/bitbake/lib/bb/pysh/pyshtables.py\\n'\n"
[snip]

This is because the test case will run twice
(environment-setup-core2-64-poky-linux and
environment-setup-x86-pokymllib32-linux), it would fail in the second
run since pyshtables.py is regenerated in the first run. This file is
generated automatically, publish it doesn't make any sense, so add it to
.gitignore.

[YOCTO #10796]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 scripts/oe-publish-sdk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk
index d95c623..e2b1b95 100755
--- a/scripts/oe-publish-sdk
+++ b/scripts/oe-publish-sdk
@@ -116,7 +116,7 @@ def publish(args):
     cmd_common = "if [ ! -e .git ]; then"
     cmd_common += "    git init .;"
     cmd_common += "    mv .git/hooks/post-update.sample .git/hooks/post-update;"
-    cmd_common += "    echo '*.pyc\n*.pyo' > .gitignore;"
+    cmd_common += "    echo '*.pyc\n*.pyo\npyshtables.py' > .gitignore;"
     cmd_common += "fi;"
     cmd_common += "git add -A .;"
     cmd_common += "git config user.email 'oe@oe.oe' && git config user.name 'OE' && git commit -q -m 'init repo' || true;"
-- 
2.10.2



  parent reply	other threads:[~2016-12-14  7:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14  7:24 [PATCH V2 0/8] Fixes for eSDK and testsdkext Robert Yang
2016-12-14  7:24 ` [PATCH V2 1/8] populate_sdk_ext.bbclass: break the long lines Robert Yang
2016-12-14  8:02   ` Ulf Magnusson
2016-12-14  8:37     ` Robert Yang
2016-12-14  7:24 ` [PATCH V2 2/8] populate_sdk_ext.bbclass: install multilib SDKs Robert Yang
2016-12-14  7:24 ` [PATCH V2 3/8] oeqa/sdkext/devtool.py: remove sources before run test cases Robert Yang
2016-12-14  7:24 ` [PATCH V2 4/8] oe-publish-sdk: make cmd easier to read Robert Yang
2016-12-14  7:24 ` Robert Yang [this message]
2016-12-14  7:24 ` [PATCH V2 6/8] oeqa/oetest.py: add hasLockedSig() Robert Yang
2016-12-14  7:24 ` [PATCH V2 7/8] oeqa/sdkext/devtool.py: skip a testcase when no libxml2 Robert Yang
2016-12-14  7:24 ` [PATCH V2 8/8] oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN Robert Yang
2016-12-20 15:41 ` [PATCH V2 0/8] Fixes for eSDK and testsdkext Burton, Ross
2016-12-21  1:41   ` akuster808
2016-12-21  1:48     ` Robert Yang
2016-12-21  6:20   ` Robert Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3b1e2869c4215512d924b5c639de758e5315a87f.1481700149.git.liezhi.yang@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.