diff options
Diffstat (limited to 'bitbake/bin/bbimage')
| -rwxr-xr-x | bitbake/bin/bbimage | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/bin/bbimage b/bitbake/bin/bbimage index df6caa28ed..9adedbfc63 100755 --- a/bitbake/bin/bbimage +++ b/bitbake/bin/bbimage | |||
| @@ -18,15 +18,16 @@ | |||
| 18 | # Place, Suite 330, Boston, MA 02111-1307 USA. | 18 | # Place, Suite 330, Boston, MA 02111-1307 USA. |
| 19 | 19 | ||
| 20 | import sys, os | 20 | import sys, os |
| 21 | sys.path.append(os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) | 21 | sys.path.insert(0,os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) |
| 22 | import bb | 22 | import bb |
| 23 | from bb import * | 23 | from bb import * |
| 24 | 24 | ||
| 25 | __version__ = 1.0 | 25 | __version__ = 1.1 |
| 26 | type = "jffs2" | 26 | type = "jffs2" |
| 27 | cfg_bb = data.init() | 27 | cfg_bb = data.init() |
| 28 | cfg_oespawn = data.init() | 28 | cfg_oespawn = data.init() |
| 29 | 29 | ||
| 30 | bb.msg.set_debug_level(0) | ||
| 30 | 31 | ||
| 31 | def usage(): | 32 | def usage(): |
| 32 | print "Usage: bbimage [options ...]" | 33 | print "Usage: bbimage [options ...]" |
