aboutsummaryrefslogtreecommitdiffstats
path: root/bin/bbimage
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-09-08 21:55:12 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-09-08 21:55:12 +0000
commit87b24a9c7f8dfbd33a73fe439a14b7f98b8f0c78 (patch)
tree3aafc49baa902f14fd25f84326d72615d67e637c /bin/bbimage
parentc8454706174f835881f850334946904afab9d400 (diff)
downloadbitbake-87b24a9c7f8dfbd33a73fe439a14b7f98b8f0c78.tar.gz
bitbake/trunk/bitbake/bin/bbimage: prepend the path to BitBake instead of appending to fix #1108
We want the 'local' libraries to be loaded before the installed copy. E.g. if you have a old version of BitBake installed but run a newer version from a local directory you want to load the BitBake libraries from the local directory
Diffstat (limited to 'bin/bbimage')
-rwxr-xr-xbin/bbimage4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbimage b/bin/bbimage
index df6caa28e..9656c05a0 100755
--- a/bin/bbimage
+++ b/bin/bbimage
@@ -18,11 +18,11 @@
# Place, Suite 330, Boston, MA 02111-1307 USA.
import sys, os
-sys.path.append(os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
+sys.path.insert(0,os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb
from bb import *
-__version__ = 1.0
+__version__ = 1.1
type = "jffs2"
cfg_bb = data.init()
cfg_oespawn = data.init()