Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Live-Patching:x86_64
SUSE:SLE-15:Update
python3-ec2uploadimg.9844
enforce-architecture.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enforce-architecture.patch of Package python3-ec2uploadimg.9844
--- ec2uploadimg.orig +++ ec2uploadimg @@ -103,7 +103,7 @@ argparse.add_argument( argparse.add_argument( '-m', '--machine', dest='arch', - help='Machine architecture i386|x86_64 for the uploaded image', + help='Machine architecture arm64|i386|x86_64 for the uploaded image', metavar='ARCH', required=True ) @@ -311,6 +311,11 @@ if not secret_key: print('Could not determine account secret access key', file=sys.stderr) sys.exit(1) +supported_arch = ['arm64', 'i386', 'x86_64'] +if args.arch not in supported_arch: + print('Specified architecture must be one of %s' % str(supported_arch)) + sys.exit(1) + sriov_type = args.sriov if sriov_type: sriov_type = 'simple' @@ -411,6 +416,12 @@ try: file=sys.stderr ) sys.exit(1) + elif args.arch == 'arm64' and args.virtType != 'hvm': + print( + 'Images for arm64 must use hvm virtualization', + file=sys.stderr + ) + sys.exit(1) else: print( 'Could not reliably determine the ',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor