Sync from SUSE:SLFO:Main libguestfs revision 6f3eb2a757c51d0b14f19bede2a78295

This commit is contained in:
Adrian Schröter 2024-10-23 11:55:03 +02:00
parent bec3bb9036
commit 05086b1bfb
8 changed files with 130 additions and 67 deletions

View File

@ -1,20 +0,0 @@
Subject: Initialise bar->fp as NULL
From: Ben Brown ben.brown@softiron.com Thu Mar 28 12:35:28 2024 +0000
Date: Thu Mar 28 12:53:52 2024 +0000:
Git: 0330ebe40cb645df311bab25888c5ca6cc179efe
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2272045
diff --git a/common/progress/progress.c b/common/progress/progress.c
index e4b3066..5848abd 100644
--- a/common/progress/progress.c
+++ b/common/progress/progress.c
@@ -123,6 +123,7 @@ progress_bar_init (unsigned flags)
bar->machine_readable = 1;
bar->utf8_mode = 0;
bar->have_terminfo = 0;
+ bar->fp = NULL;
} else {
bar->machine_readable = 0;

View File

@ -1,24 +0,0 @@
Subject: generator/customize.ml: Split --chown parameter on ':' character
From: Richard W.M. Jones rjones@redhat.com Fri Jan 19 13:18:00 2024 +0000
Date: Fri Jan 19 13:24:37 2024 +0000:
Git: e9a728bb22dfa1de5328fbbe7d6d7acad2dbed64
The previous code split it on ',' which was completely wrong.
(It reveals the lack of testing however).
Fixes: commit c08032ebe2763f5e9ce5b14e003721475219d390
Reported-by: Yongkui Guo
diff --git a/generator/customize.ml b/generator/customize.ml
index e64b45c0d..e2c4b6051 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -775,7 +775,7 @@ let rec argspec () =
let len = String.length arg in
String.sub arg 0 i, String.sub arg (i+1) (len-(i+1))
and split_string_triplet option_name arg =
- match String.nsplit ~max:3 \",\" arg with
+ match String.nsplit ~max:3 \":\" arg with
| [a; b; c] -> a, b, c
| _ ->
error (f_\"invalid format for '--%%s' parameter, see the man page\")

BIN
libguestfs-1.52.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmWW64MRHHJpY2hAYW5u
ZXhpYS5vcmcACgkQkXOPc+G3aKDVHw//UIr27iA6WpJy0KyLOSmcdyrtYbnnySwP
GH7ho8tpggDjXjSYyuUSjeqhCluMSy6XGYxYmZKNx8gyvydCfX7oflr6Lldti6tk
9vARyrIg85knFH4VgxZfVpN7FUava3qbVSW5EH4T539+rKi7r8M6bgyPzeeOCd0w
8jzeLy0VPz9XMCBMQ0HRbtX6EjttblNSgD7NnjhqQt274UJW6bdrzXvTHw/uyr0p
+Qbzas8qaUye5E1L6jqlH+5fHoF0R481PDq6XS8CvGWGD+/7MMTuRUDYa69ia9Du
pbD5XjTWU1ELGiS/nah3HWcprKzpw7MJmqqOKCnQedxPyeNbJQ5XfRc0R6HRkxil
yHq8hU2eidWz+/zLvV69vL1jXoUddYdv0YpIFqTtyAAFYvzfc6GgcJ/wcAr8DdOl
/ULMxf+AH0Lm7Pygj6R/cdbd0OvmDCi3LoN2oyMVMvVAhsx0UMcGfPdHony7FUYS
u23k6fJ7B3ksL6TtWJyjSbzW7v3I7LcfI8SShprR728VppYjyryEkxB+4H/DsWe7
eTMqnOddoteuBAapUoXZnOdfbMLkZib+2Kel7DnezLCiAnWXXALRWUreyrasr0vT
r1bZwJKjJH1atbKO+6taKkcATVoieRUxJkBDDdSOlpE3zuLL8btMgU6KerWLl1Yu
YRiSNBCEfjM=
=4eIl
-----END PGP SIGNATURE-----

BIN
libguestfs-1.54.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmcFNYwRHHJpY2hAYW5u
ZXhpYS5vcmcACgkQkXOPc+G3aKAn2xAArWoo5hKyREZW+WqEv40ZDD9jRG2WNUyl
BJcEvLEtcAySv71nftVQOhxoZhcfRbanSFKCTD0O/rzf5MjDhPIi9jbeGkFDg22c
zyuSJ4vGnkUCa1dDg5hJZdhCfe/gSb5RHR8GF+QRZDVXqCZg/PO+KEFh0112htUW
1y6rc9oe2f5aSNO9wgsVCYLXGcZ80wT/JyXe/NhqJoZOvps4SlEFHcpoYdV0wzOG
1UkuPy1UteDOTLHGx5JyMqR/+mzy3O59FaIU1eAXwrtlksBfzgmMyEt7ntizk3/M
qGgaE4KK3GURZUoDNc6WS856EMaoeMy6Dd6np8rMKeDn3d0PCNcrn2+7kSiNyRP0
guM+7gwcZUnI9UOi6/vwbmmDCAgRkSPP130fKagBtK2BqQ1FyTow4mOLXkVpHrlZ
zF2lDIBs/rDC1fdDXtcsZ/N4nc2OkZwvZ+jxjhsY4xnSLaZSK+C3Le7Yqj04vOzh
KfqgqorqaEw1MnqRY6czGc5VntXsK/5f+zBeS4KGn7znJN/jVXzjFDn3o0X6R1MW
IMv2ZHk0NInGFaVHyBD7ob3vh2+hWX0QIVTouqmPRVPIbVs4hAIVHGeOkkUCO8y9
MerGQuJSPlaegndGfRmp4R6q882QxTXRiY4tAnhdoDj5bLzss89kSKqxUHBDknZA
Fe+4R67G9zg=
=RmmC
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,112 @@
-------------------------------------------------------------------
Thu Oct 10 07:06:04 MDT 2024 - carnold@suse.com
- Update to version 1.54.0 (jsc#PED-8910)
* Add detection of Circle Linux (Bella Zhang).
* Add support for LoongArch (liuxiang).
* Add detection of Kylin (grass-lu).
* Add detection of openEuler (Wang Guoquan).
* PARTUUID and PARTLABEL are now resolved in guest /etc/fstab.
* New APIs findfs_partuuid and findfs_partlabel. These can be
used to efficiently look up a filesystem by its GPT partition
UUID or label.
* Support for the following inactive or infrequently used device
types has been removed: Gluster, Sheepdog, TFTP.
* Add GOST R34.11-94 message digest algorithm to checksum APIs
(Alexey Shabalin).
* Allow nbd+unix:// URIs (NBD over Unix domain socket) in
guestfish and other places.
* Various part_* (partition) APIs related to GPT have been
reimplemented to use util-linux sfdisk instead of sgdisk.
Util-linux is more widely available, so this reduces
dependencies in the common case. One optional API remains that
still uses sgdisk. (Thanks Yongkui Guo).
* Add cipher suboption to cryptsetup_open (Jonatan Pålsson).
* Because of a bug, the part_get_gpt_attributes API could
truncate the return value from 64 to 32 bits. This has been
fixed.
* Libguestfs will now no longer recommend using
LIBGUESTFS_BACKEND=direct. This was shown previously when
libvirt failed to start the appliance. However it is felt that
this now does more harm than good.
* Fix generation of virt-customize --chown parameter (Yongkui Guo)
* In the appliance, reduce boot time when dhcp isn't needed
(Olaf Hering).
* A deadlock in the appliance caused by a regression in Linux
6.11 has been worked around. The deadlock was also fixed in
Linux 6.12.
- Bug fixes
* Fix rare hangs while starting the appliance, at 'echo noop'
into /sys/block/{h,s,ub,v}d*/queue/scheduler
* Drop dependency from libguestfs -> gdisk
* libguestfs inspection does not know about /etc/fstab
PARTLABEL=<label>
* btrfs related c_api/tests are failing (unable to create quota
group: Invalid argument)
* Python how-to incorrect exception name
* Rust test 410_close_event fails
-------------------------------------------------------------------
Thu Aug 29 15:06:57 MDT 2024 - carnold@suse.com
- Update to version 1.53.6 (jsc#PED-8910)
* Various MacOS fixes and enhancements
* ocaml: INSTALL_OCAMLLIB Makefile parameter
* appliance/init: Don't set impossible "noop" disk scheduler
* Pull in some fixes from the common submodule.
mlcustomize: Add Inject_virtio_win.inject_blnsvr implementation
mlcustomize: firstboot: Use Linux path for Powershell script path
mlcustomize: firstboot: Use powershell.exe instead of path
mlcustomize: firstboot: Use Powershell -NoProfile flag
mlcustomize: Revert delay installation of qemu-ga MSI
mldrivers/linux_kernels.ml: Prefix general information with ^info:
mlcustomize: Use Start-Process -Wait to run qemu-ga installer
mlcustomize: Add Firstboot.firstboot_dir function
mlcustomize: Place powershell scripts into <firstboot_dir>\Temp
mlcustomize: Inject qemu-ga & blnsvr into <firstboot_dir>/Temp
mlcustomize: Write qemu-ga log file name to log.txt
mlcustomize: Add some comments to firstboot batch file
mlcustomize: Reboot Windows between each firstboot script
-------------------------------------------------------------------
Tue Jul 16 13:15:45 MDT 2024 - carnold@suse.com
- Update to version 1.53.5 (jsc#PED-6305)
* generator/customize.ml: Split --chown parameter on ':' character
* daemon: Add gost checksum command support
* Add detection support for Circle Linux
* Add support for LoongArch.
* daemon: Fix file architecture translation for LoongArch
* options: Allow nbd+unix:// URIs
* daemon/parted: Assume sfdisk --part-type exists
* daemon: Reimplement partition GPT functions using sfdisk
* appliance: only wait for resolv.conf update if dhcpcd succeeded
* generator/customize.ml: Add virt-customize --inject-blnsvr operation
* lib: libvirt: Stop recommending LIBGUESTFS_BACKEND=direct
* daemon: cryptsetup_open: Add --cipher
* rust: Handle null pointer when creating slice
* Remove gluster support
* Remove sheepdog support
* Remove tftp drive support
* generator/daemon: Don't truncate 64 bit results from OCaml functions
* daemon: Fix parsing in part_get_gpt_attributes
* New APIs: findfs_partuuid and findfs_partlabel
* inspection: Resolve PARTUUID= and PARTLABEL= in /etc/fstab
* generator/actions_core.ml: Fix version field for new APIs
* Kylin is centos derivative
-------------------------------------------------------------------
Thu May 16 13:02:34 MDT 2024 - carnold@suse.com
- Update to version 1.52.1 bug fix release (jsc#PED-6305)
* There are no upstream release notes for verion 1.52.x
* Several python fixes
* Rework Std_utils.Option so it works like the OCaml stdlib module
* Update common submodule to latest
- Drop patches contained in new tarball
Split-chown-parameter-on-character.patch
Initialise-bar-fp-as-NULL.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 8 12:42:02 MDT 2024 - carnold@suse.com Wed May 8 12:42:02 MDT 2024 - carnold@suse.com

View File

@ -18,7 +18,7 @@
Name: libguestfs Name: libguestfs
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64 ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64
Version: 1.52.0 Version: 1.54.0
Release: 0 Release: 0
Summary: Access and modify virtual machine disk images Summary: Access and modify virtual machine disk images
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -33,8 +33,6 @@ Source101: README
# Patches # Patches
Patch1: use-rtc-driftfix-slew-for-x86-only.patch Patch1: use-rtc-driftfix-slew-for-x86-only.patch
Patch2: Split-chown-parameter-on-character.patch
Patch3: Initialise-bar-fp-as-NULL.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: file-devel BuildRequires: file-devel