osbuild-mpp: Set the "arch" variable to the current rpm arch
This commit is contained in:
parent
1425f66449
commit
611b6846e8
1 changed files with 2 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ import tempfile
|
|||
import urllib.parse
|
||||
from typing import Dict, Optional
|
||||
|
||||
import rpm
|
||||
import dnf
|
||||
import hawkey
|
||||
|
||||
|
|
@ -941,6 +942,7 @@ def main():
|
|||
args = parser.parse_args(sys.argv[1:])
|
||||
|
||||
defaults = {
|
||||
"arch": rpm.expandMacro("%{_arch}")
|
||||
}
|
||||
|
||||
# Override variables from the main of imported files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue