diff options
Diffstat (limited to 'meta/classes-global/package_rpm.bbclass')
-rw-r--r-- | meta/classes-global/package_rpm.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass index 3743be8c82..2e3e4e8c79 100644 --- a/meta/classes-global/package_rpm.bbclass +++ b/meta/classes-global/package_rpm.bbclass | |||
@@ -681,6 +681,7 @@ python do_package_rpm () { | |||
681 | # Setup the rpmbuild arguments... | 681 | # Setup the rpmbuild arguments... |
682 | rpmbuild = d.getVar('RPMBUILD') | 682 | rpmbuild = d.getVar('RPMBUILD') |
683 | rpmbuild_compmode = d.getVar('RPMBUILD_COMPMODE') | 683 | rpmbuild_compmode = d.getVar('RPMBUILD_COMPMODE') |
684 | rpmbuild_extra_params = d.getVar('RPMBUILD_EXTRA_PARAMS') or "" | ||
684 | 685 | ||
685 | # Too many places in dnf stack assume that arch-independent packages are "noarch". | 686 | # Too many places in dnf stack assume that arch-independent packages are "noarch". |
686 | # Let's not fight against this. | 687 | # Let's not fight against this. |
@@ -722,6 +723,7 @@ python do_package_rpm () { | |||
722 | cmd = cmd + " --define '_use_weak_usergroup_deps 1'" | 723 | cmd = cmd + " --define '_use_weak_usergroup_deps 1'" |
723 | cmd = cmd + " --define '_passwd_path " + "/completely/bogus/path" + "'" | 724 | cmd = cmd + " --define '_passwd_path " + "/completely/bogus/path" + "'" |
724 | cmd = cmd + " --define '_group_path " + "/completely/bogus/path" + "'" | 725 | cmd = cmd + " --define '_group_path " + "/completely/bogus/path" + "'" |
726 | cmd = cmd + rpmbuild_extra_params | ||
725 | if d.getVarFlag('ARCHIVER_MODE', 'srpm') == '1' and bb.data.inherits_class('archiver', d): | 727 | if d.getVarFlag('ARCHIVER_MODE', 'srpm') == '1' and bb.data.inherits_class('archiver', d): |
726 | cmd = cmd + " --define '_sourcedir " + d.getVar('ARCHIVER_OUTDIR') + "'" | 728 | cmd = cmd + " --define '_sourcedir " + d.getVar('ARCHIVER_OUTDIR') + "'" |
727 | cmdsrpm = cmd + " --define '_srcrpmdir " + d.getVar('ARCHIVER_RPMOUTDIR') + "'" | 729 | cmdsrpm = cmd + " --define '_srcrpmdir " + d.getVar('ARCHIVER_RPMOUTDIR') + "'" |