summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/devtool/package.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/devtool/package.py b/scripts/lib/devtool/package.py
index afb5809a36..47640641d1 100644
--- a/scripts/lib/devtool/package.py
+++ b/scripts/lib/devtool/package.py
@@ -28,10 +28,8 @@ def package(args, config, basepath, workspace):
28 """Entry point for the devtool 'package' subcommand""" 28 """Entry point for the devtool 'package' subcommand"""
29 check_workspace_recipe(workspace, args.recipename) 29 check_workspace_recipe(workspace, args.recipename)
30 30
31 tinfoil = setup_tinfoil(basepath=basepath) 31 tinfoil = setup_tinfoil(basepath=basepath, config_only=True)
32 try: 32 try:
33 tinfoil.prepare(config_only=True)
34
35 image_pkgtype = config.get('Package', 'image_pkgtype', '') 33 image_pkgtype = config.get('Package', 'image_pkgtype', '')
36 if not image_pkgtype: 34 if not image_pkgtype:
37 image_pkgtype = tinfoil.config_data.getVar('IMAGE_PKGTYPE', True) 35 image_pkgtype = tinfoil.config_data.getVar('IMAGE_PKGTYPE', True)