Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python3-ec2imgutils for openSUSE:Factory checked in at 2021-09-23 23:04:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-ec2imgutils (Old)
and /work/SRC/openSUSE:Factory/.python3-ec2imgutils.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-ec2imgutils"
Thu Sep 23 23:04:23 2021 rev:15 rq:921179 version:9.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-ec2imgutils/python3-ec2imgutils.changes 2021-08-28 22:29:13.989981871 +0200
+++ /work/SRC/openSUSE:Factory/.python3-ec2imgutils.new.1899/python3-ec2imgutils.changes 2021-09-23 23:04:32.420344794 +0200
@@ -1,0 +2,8 @@
+Tue Sep 14 20:47:09 UTC 2021 - Robert Schweikert
+
+- Update to version 9.0.3 (bsc#1190538)
+ + Support setting the boot mode for EC2 images, either to legacy-bios
+ or uefi. Argument is optional, without it instance will use the default
+ boot mode for the given instance type.
+
+-------------------------------------------------------------------
Old:
----
ec2imgutils-9.0.2.tar.bz2
New:
----
ec2imgutils-9.0.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-ec2imgutils.spec ++++++
--- /var/tmp/diff_new_pack.IcFr6e/_old 2021-09-23 23:04:32.864345125 +0200
+++ /var/tmp/diff_new_pack.IcFr6e/_new 2021-09-23 23:04:32.868345128 +0200
@@ -19,7 +19,7 @@
%define upstream_name ec2imgutils
Name: python3-ec2imgutils
-Version: 9.0.2
+Version: 9.0.3
Release: 0
Summary: Image management utilities for AWS EC2
License: GPL-3.0-or-later
++++++ ec2imgutils-9.0.2.tar.bz2 -> ec2imgutils-9.0.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ec2imgutils-9.0.2/ec2uploadimg new/ec2imgutils-9.0.3/ec2uploadimg
--- old/ec2imgutils-9.0.2/ec2uploadimg 2021-08-27 21:46:17.781008736 +0200
+++ new/ec2imgutils-9.0.3/ec2uploadimg 2021-09-20 11:58:48.460616311 +0200
@@ -1,7 +1,7 @@
#!/usr/bin/python3
-# Copyright 2020 SUSE LLC
+# Copyright 2021 SUSE LLC
#
# This file is part of ec2imgutils
#
@@ -96,6 +96,13 @@
metavar='AWS_AKI_ID'
)
argparse.add_argument(
+ '--boot-mode',
+ dest='bootMode',
+ help='Set the boot mode for the image, legacy-bios or uefi (Optional)',
+ choices=['', 'legacy-bios', 'uefi'],
+ metavar='BOOT_MODE'
+)
+argparse.add_argument(
'-d', '--description',
dest='descript',
help='Image description, will also be used for the snapshot',
@@ -660,7 +667,8 @@
use_private_ip=args.usePrivateIP,
vpc_subnet_id=vpc_subnet_id,
wait_count=args.waitCount,
- log_callback=logger
+ log_callback=logger,
+ boot_mode=args.bootMode
)
if args.snapOnly:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ec2imgutils-9.0.2/lib/ec2imgutils/VERSION new/ec2imgutils-9.0.3/lib/ec2imgutils/VERSION
--- old/ec2imgutils-9.0.2/lib/ec2imgutils/VERSION 2021-08-27 21:46:17.765008858 +0200
+++ new/ec2imgutils-9.0.3/lib/ec2imgutils/VERSION 2021-09-20 11:58:48.460616311 +0200
@@ -1 +1 @@
-9.0.2
+9.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ec2imgutils-9.0.2/lib/ec2imgutils/ec2uploadimg.py new/ec2imgutils-9.0.3/lib/ec2imgutils/ec2uploadimg.py
--- old/ec2imgutils-9.0.2/lib/ec2imgutils/ec2uploadimg.py 2021-08-27 21:46:17.777008765 +0200
+++ new/ec2imgutils-9.0.3/lib/ec2imgutils/ec2uploadimg.py 2021-09-20 11:58:48.460616311 +0200
@@ -1,4 +1,4 @@
-# Copyright 2018 SUSE LLC
+# Copyright 2021 SUSE LLC
#
# This file is part of ec2imgutils
#
@@ -60,7 +60,8 @@
vpc_subnet_id='',
wait_count=1,
log_level=logging.INFO,
- log_callback=None
+ log_callback=None,
+ boot_mode=None
):
EC2ImgUtils.__init__(
self,
@@ -72,6 +73,7 @@
self.backing_store = backing_store
self.billing_codes = billing_codes
self.bootkernel = bootkernel
+ self.boot_mode = boot_mode
self.ena_support = ena_support
self.image_arch = image_arch
self.image_description = image_description
@@ -864,6 +866,8 @@
}
if self.billing_codes:
register_args['BillingProducts'] = self.billing_codes.split(',')
+ if self.boot_mode:
+ register_args['BootMode'] = self.boot_mode
if self.image_virt_type == 'paravirtual':
register_args['KernelId'] = self.bootkernel
if self.sriov_type:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ec2imgutils-9.0.2/man/man1/ec2uploadimg.1 new/ec2imgutils-9.0.3/man/man1/ec2uploadimg.1
--- old/ec2imgutils-9.0.2/man/man1/ec2uploadimg.1 2021-08-27 21:46:17.781008736 +0200
+++ new/ec2imgutils-9.0.3/man/man1/ec2uploadimg.1 2021-09-20 11:58:48.460616311 +0200
@@ -83,6 +83,13 @@
or
.I g2_aki_x86_64
value in the configuration file.
+.IP "--boot-mode"
+Optionally specify the boot mode for the image. Accepted values are
+.I legacy-bios
+or
+.I uefi .
+If no boot mode is specified the default behavior for the instance type
+applies, uefi for aarch64 instances and bios for x86_64 based instances.
.IP "-d --description IMAGE_DESCRIPTION"
Specifies a description for the image. The description will also be used for
the snapshot.