mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
qemu: Add a package name to create a tarball.
This commit is contained in:
parent
f88fcf3ae0
commit
e02eaa67b6
@ -4,6 +4,11 @@
|
||||
|
||||
%define release 1
|
||||
|
||||
#
|
||||
# Name of the package.
|
||||
#
|
||||
package: qemu-%{qemu_version}-%{_host}-%{release}
|
||||
|
||||
#
|
||||
# A magic internal path that would break if changes in the defaults.mc
|
||||
# macro file are made.
|
||||
|
@ -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}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user