summaryrefslogtreecommitdiffstats
path: root/source-builder
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-07 11:59:51 +1100
committerChris Johns <chrisj@rtems.org>2016-03-07 15:03:04 +1100
commite645642255cc77468e48f471f7de1b5f8ed38747 (patch)
tree9712f16a0676dcb79acaae30d03323b008f1e0d8 /source-builder
parentsb: Update code base to support Python3 and Python2. (diff)
downloadrtems-source-builder-e645642255cc77468e48f471f7de1b5f8ed38747.tar.bz2
qemu: Add a package name to create a tarball.
Diffstat (limited to 'source-builder')
-rw-r--r--source-builder/sb/setbuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index e213d03..d899916 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -197,7 +197,7 @@ class buildset:
if (self.opts.get_arg('--bset-tar-file') or self.opts.canadian_cross()) \
and not _build.macros.get('%{_disable_packaging}'):
path.mkdir(tardir)
- tar = path.join(tardir, _build.config.expand('%s.tar.bz2' % (self.bset_pkg)))
+ tar = path.join(tardir, _build.config.expand('%s.tar.bz2' % (_build.main_package().name())))
log.notice('tarball: %s' % (os.path.relpath(path.host(tar))))
if not self.opts.dry_run():
tmproot = _build.config.expand('%{_tmproot}')