From 6f8f0f06252c1371b3d4337f72c1ef6275669228e2752b1e8a70a24527aaa9b2 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Thu, 9 Feb 2023 22:19:33 +0000 Subject: [PATCH] - Update to version 1.50.0 * https://libguestfs.org/guestfs-release-notes-1.50.1.html * Inspection When listing the packages in RPM-based guests, the inspection API no longer checks package signatures. This is because the newer librpm used by libguestfs does not understand signatures stored in older guests, such as SHA1 used by RHEL 6 (thanks Panu Matilainen). "guestfs_inspect_get_hostname" in guestfs(3) can now handle /etc/hostname files containing comments (thanks Dawid Zamirski). "guestfs_file_architecture" in guestfs(3) can now parse files using zstd compression. "guestfs_inspect_get_osinfo" in guestfs(3) now returns the correct osinfo field for Windows 11. However because of decisions made by Microsoft, these guests still return product name and other strings identifying as Windows 10 (thanks Yaakov Selkowitz, Yongkui Guo). * New APIs "guestfs_device_name" in guestfs(3) is a new API to read the device name associated with a drive, for example calling this with 0 will return /dev/sda. "guestfs_clevis_luks_unlock" in guestfs(3) is a new API for unlocking disks using the Clevis/Tang network-based full disk encryption scheme. Furthermore implement this in guestfish and guestmount (Laszlo Ersek). "guestfs_inspect_get_build_id" in guestfs(3) is a new API for reading the build ID from some Linux and Windows guests. It is not widely used on Linux, but for Windows it is vital for identifying Windows 11. * Other API changes OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=537 --- libguestfs-1.48.6.tar.gz | 3 --- libguestfs-1.48.6.tar.gz.sig | 17 -------------- libguestfs-1.50.0.tar.gz | 3 +++ libguestfs-1.50.0.tar.gz.sig | 17 ++++++++++++++ libguestfs.changes | 45 ++++++++++++++++++++++++++++++++++++ libguestfs.spec | 5 ++-- 6 files changed, 68 insertions(+), 22 deletions(-) delete mode 100644 libguestfs-1.48.6.tar.gz delete mode 100644 libguestfs-1.48.6.tar.gz.sig create mode 100644 libguestfs-1.50.0.tar.gz create mode 100644 libguestfs-1.50.0.tar.gz.sig diff --git a/libguestfs-1.48.6.tar.gz b/libguestfs-1.48.6.tar.gz deleted file mode 100644 index c27fd96..0000000 --- a/libguestfs-1.48.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c03cdb2f3460fa492e8423a003e3aa7d51a1311906e01467d1fb90ebf336ac5 -size 19179600 diff --git a/libguestfs-1.48.6.tar.gz.sig b/libguestfs-1.48.6.tar.gz.sig deleted file mode 100644 index 6e36c55..0000000 --- a/libguestfs-1.48.6.tar.gz.sig +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmOEn2URHHJpY2hAYW5u -ZXhpYS5vcmcACgkQkXOPc+G3aKCUZQ/+NqyxeiHmbcAUVZgaS8R5z8qqzwQQedRR -gUzUIk5bdH/AKNCZ6cr/pMUMdo5TEtR2V5z8RFD0pe9maYLmGOosxpFHOHELasrr -KO3l5uWz/swBUTR83IJi3LU1bu91dwoaGmIQA1KGy8wcaA6z9mwxWtNbx4pF7jqM -evWZZE/rLRyLze4tiUU0bzbYhpIu31PZ5hd9o+FPj6TbmRFwn3jbc1wfWuDxXG3D -igYkd+RbaeI09VdslcNzCxdZc3yeaunq/v0kI32OIqltOpw98RUv8zFxxZbgWPP5 -zb6JaAAs3ThZVqesFvfVxRbArxpi4Sfr1L6b0TsHb22p9ACLNS3taJhnsUrFQtx9 -fC6g8u45tDalV14cylyyH5yZ4iCShzf5iHKGdXi/dxyS1xilkcsesgABuv/m8XRC -X8rtiDme8CETtTcxXdATgsmfjoyba9IdS4pUq+JC5jpRbIHek3fSffSxGnzydj+d -PwfLEXZlZbxNuCOmdpXUUbwyIoUw7xajVSn+dZAkdnosn0u4JberGdrG/A/bvDOQ -8ABSYE8Rs1iqIFcMl9uwqDtVf0hsNcGC4K5YTLRIODuiOm7H3JfbT7GT4L6lz4K8 -hmelktKn4Mq4iLsgrEj1ZHEzJ2jgEFcv4TZoAYwpbH2xXwj6b/9NqycOeHQaQMR1 -/m3Ri79S9x8= -=EbDM ------END PGP SIGNATURE----- diff --git a/libguestfs-1.50.0.tar.gz b/libguestfs-1.50.0.tar.gz new file mode 100644 index 0000000..41c61a8 --- /dev/null +++ b/libguestfs-1.50.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb8caea7c85ba4bde2218358ce0f6db4a64a3ddb80a4afc4e7a442627b5ee36 +size 19220296 diff --git a/libguestfs-1.50.0.tar.gz.sig b/libguestfs-1.50.0.tar.gz.sig new file mode 100644 index 0000000..bb4d242 --- /dev/null +++ b/libguestfs-1.50.0.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmPiNMYRHHJpY2hAYW5u +ZXhpYS5vcmcACgkQkXOPc+G3aKBFwA/7BCpJNL+0KhzWlEGwim0hHqYm6LLAgQR2 +FpWRdhLFdbu2vvEg+DkEAd5cI1TkOIRx4t3eBGiERDGLzroT8QJulr1ZlwLCu+h2 +ywwo5rJk3ZFDD9CoKC9VDOk0YjghXaDrllkPUjN8fS7tuQo6WHBnIcMyd1VNo5YA +63PNj90VTOGZp54GJLtRpCGNQcxkbGcsl4EpvxvvXaWGtnADNy4864aGQb7uDfa3 +y5OLKfnK1O519Yi6q8JQks9x334ff2UjTSH/UqIu4mzbNHZROBDhcgQ+J2RCA54Q +UVujHOFg4HvoMSvpSi19vZ1kTG1Pq6TmPtYg7Ims7DQXgXkvVKB472CDkXFet9Sj +sLxM3OGIFmOiKqJkKfqKW+kgw7UZpfH9fya6H2w/Gq5cruUnAGTqZQnk13tbh2gF +k2L6Bb8AFq420x2VEdm7WexBF2Tk3xX8ub+9GOjTN9VvRWbAQskiDwi6hY/FoX9l +vOSe9Yxm5kVHR33oBsSnI0w7IkpgObbsjx18Zya0gwDRhMrCd3kB46v4wzYREngI +LnHW7V5zRwZXPsQOgL38joOYgJhqLud13JdhZP+KcpRfYwpl6UFoBe1cweNloD++ +mKW5ive8JO2RIRW7dRD1j4xZllRNMIx06tl6V+kp3x7uN4UohG/HhuZYeH4aZWR3 +SVXTBbY6/tc= +=lnRo +-----END PGP SIGNATURE----- diff --git a/libguestfs.changes b/libguestfs.changes index 0d8b87e..18ec5e3 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Thu Feb 9 12:55:46 MST 2023 - carnold@suse.com + +- Update to version 1.50.0 + * https://libguestfs.org/guestfs-release-notes-1.50.1.html + * Inspection + When listing the packages in RPM-based guests, the inspection + API no longer checks package signatures. This is because the + newer librpm used by libguestfs does not understand signatures + stored in older guests, such as SHA1 used by RHEL 6 (thanks + Panu Matilainen). + "guestfs_inspect_get_hostname" in guestfs(3) can now handle + /etc/hostname files containing comments (thanks Dawid Zamirski). + "guestfs_file_architecture" in guestfs(3) can now parse files + using zstd compression. + "guestfs_inspect_get_osinfo" in guestfs(3) now returns the + correct osinfo field for Windows 11. However because of + decisions made by Microsoft, these guests still return product + name and other strings identifying as Windows 10 (thanks Yaakov + Selkowitz, Yongkui Guo). + * New APIs + "guestfs_device_name" in guestfs(3) is a new API to read the + device name associated with a drive, for example calling this + with 0 will return /dev/sda. + "guestfs_clevis_luks_unlock" in guestfs(3) is a new API for + unlocking disks using the Clevis/Tang network-based full disk + encryption scheme. Furthermore implement this in guestfish and + guestmount (Laszlo Ersek). + "guestfs_inspect_get_build_id" in guestfs(3) is a new API for + reading the build ID from some Linux and Windows guests. It is + not widely used on Linux, but for Windows it is vital for + identifying Windows 11. + * Other API changes + In the "guestfs_add_drive" in guestfs(3) API, the name and + iface fields are not used. name has not been used since around + 2017, but the documentation has only just been updated to reflect + this. iface was never allowed for the libvirt backend and + didn't work reliably with the direct backend (Laszlo Ersek). + "guestfs_readdir" in guestfs(3) is no longer limited to the + maximum message size but can read a directory of any size + (Laszlo Ersek). + * Numerous build changes, internal improvements, and bug fixes + Note that the Augeas bindings for libguestfs are no longer + bundled with libguestfs and must be built separately. + ------------------------------------------------------------------- Fri Dec 16 09:08:08 UTC 2022 - Dominique Leuenberger diff --git a/libguestfs.spec b/libguestfs.spec index b5cd3ea..73603d6 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -18,7 +18,7 @@ Name: libguestfs ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64 -Version: 1.48.6 +Version: 1.50.0 Release: 0 Summary: Access and modify virtual machine disk images License: GPL-2.0-or-later @@ -42,6 +42,7 @@ BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: libtool BuildRequires: ocaml >= 4.04 +BuildRequires: ocaml-augeas-devel BuildRequires: ocaml-hivex-devel BuildRequires: po4a BuildRequires: readline-devel @@ -259,7 +260,7 @@ libfuse2 hwinfo EOF -# do some cleanup so that rpm can properly empty directories without permission denie +# Do some cleanup so that rpm can properly empty directories without permission denied # The winsupport directory has already been tar'ed up, so we don't care much find winsupport -type d -exec chmod 755 {} \;