Patchwork [bitbake-devel] setup.py: fix path for bitbake-selftest

login
register
mail settings
Submitter Martin Jansa
Date May 12, 2012, 6:57 a.m.
Message ID <1336805867-25625-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/27503/
State Accepted
Commit f8bf4499549f978ce7c93bc088a66f74cd751e2c
Headers show

Comments

Martin Jansa - May 12, 2012, 6:57 a.m.
* currently fails with:
  running build_scripts
  creating build/scripts-2.7
  copying and adjusting bin/bitbake -> build/scripts-2.7
  copying and adjusting bin/bitbake-layers -> build/scripts-2.7
  copying and adjusting bin/bitbake-diffsigs -> build/scripts-2.7
  copying and adjusting bin/bitbake-prserv -> build/scripts-2.7
  error: file '/tmp/tmpfs/portage/dev-embedded/bitbake-9999/work/bitbake-9999/bitbake-selftest' does not exist

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 setup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - May 13, 2012, 7:02 p.m.
On Sat, 2012-05-12 at 08:57 +0200, Martin Jansa wrote:
> * currently fails with:
>   running build_scripts
>   creating build/scripts-2.7
>   copying and adjusting bin/bitbake -> build/scripts-2.7
>   copying and adjusting bin/bitbake-layers -> build/scripts-2.7
>   copying and adjusting bin/bitbake-diffsigs -> build/scripts-2.7
>   copying and adjusting bin/bitbake-prserv -> build/scripts-2.7
>   error: file '/tmp/tmpfs/portage/dev-embedded/bitbake-9999/work/bitbake-9999/bitbake-selftest' does not exist
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  setup.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/setup.py b/setup.py
index 167692d..5f9e595 100755
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@  setup(name='bitbake',
       packages = ["bb.server", "bb.parse.parse_py", "bb.parse", 
                   "bb.fetch2", "bb.ui.crumbs", "bb.ui", "bb.pysh", "bb", "prserv", "bb.tests"],
       py_modules = ["codegen"],
-      scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs", "bin/bitbake-prserv", "bitbake-selftest"],
+      scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs", "bin/bitbake-prserv", "bin/bitbake-selftest"],
       data_files = [("share/bitbake", glob("conf/*") + glob("classes/*")),
                   ("share/doc/bitbake-%s/manual" % __version__, glob("doc/manual/html/*"))],
       cmdclass = {