Commit Graph

65 Commits

Author SHA1 Message Date
Richard W.M. Jones
e4a2016270 Fix osinfo for Windows Server 2025
resolves: RHEL-62935
2024-10-17 14:28:17 +01:00
Richard W.M. Jones
f62fa9f195 Rebase to libguestfs 1.54.0
resolves: RHEL-56809
2024-10-09 11:31:14 +01:00
Richard W.M. Jones
6b578e0d34 Update to libguestfs 1.50.2
resolves: RHEL-46775
2024-07-09 15:09:20 +01:00
Richard W.M. Jones
5400e4953a inspection: Resolve PARTUUID= and PARTLABEL= in /etc/fstab
resolves: RHEL-40142, RHEL-46596
2024-07-08 14:59:36 +01:00
Richard W.M. Jones
a86c5a4fb4 Fix (rare) undetected truncation of 64 bit int results to 32 bits
resolves: RHEL-45466
2024-06-28 10:10:57 +01:00
Richard W.M. Jones
d9b4d60317 Remove bundled ocaml-augeas
resolves: RHEL-32142
2024-06-20 12:52:43 +01:00
Richard W.M. Jones
a5e5277b4d Bump release 2024-04-24 22:31:49 +01:00
Richard W.M. Jones
9edacc7cb2 Add fix for parallel builds in po-docs
related: RHEL-33851
2024-04-24 22:19:16 +01:00
Richard W.M. Jones
1574b7d34d Add support for nbd+unix:// URIs
resolves: RHEL-33851
2024-04-24 16:15:12 +01:00
Richard W.M. Jones
8295920bc2 Add --key all:... selector
resolves: RHEL-19367

Add miscellaneous other upstream fixes since 1.50.1
2023-12-14 13:34:37 +00:00
Laszlo Ersek
4a6d9a7c74 fix "osci.brew-build.rpminspect.static-analysis" gating test
Perl's ExtUtils::Install installs "Guestfs.so" read-only; that prevents
objcopy from adding the ".gdb_index" section for the sake of the debuginfo
file. See <https://rt.cpan.org/Public/Bug/Display.html?id=40976>. Lack of
".gdb_index" is then flagged as an error by rpminspect. Restore write
permission for the user, on "Guestfs.so".

https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/52967012
https://bugzilla.redhat.com/show_bug.cgi?id=2209279#c24
https://lists.corp.redhat.com/archives/rhel-devel/2023-May/005059.html

(This has nothing to do with RHBZ 2209279 BTW, but the bots don't let us
commit maintenance-only patches.)

resolves: rhbz#2209279
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-06-07 08:15:33 +02:00
Laszlo Ersek
feaa7975e5 reenable quickcheck
We now use "-cpu max" (upstream 30f74f38bd6e).

(This has nothing to do with RHBZ 2209279 BTW, but the bots don't let us
commit maintenance-only patches.)

resolves: rhbz#2209279
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-05-25 10:37:45 +02:00
Laszlo Ersek
d5d03ce545 let "guestfish -i" recognize "--key /dev/mapper/VG-LV🔑password"
In the spirit of dist-git commit fb7b8af04b ("Run SELinux relabelling in
parallel [for virt-v2v]", 2023-05-04), hand-edit the effect of
"copy-patches.sh": remove the "common/mlcustomize" changes from
"0011-update-common-submodule.patch" (which make no sense for libguestfs,
as libguestfs does not bundle "common/mlcustomize"), namely upstream
commits 17ef57a9bc81 ("mlcustomize: skip SELinux relabeling if it's
disabled", 2023-04-22) and 38e6988c1864 ("mlcustomize/SELinux_relabel.ml:
Use Array.mem", 2023-04-22).

resolves: rhbz#2209279
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-05-23 15:05:02 +02:00
Richard W.M. Jones
fb7b8af04b Run SELinux relabelling in parallel [for virt-v2v]
resolves: rhbz#2190276

Also synch copy-patches.sh with the later version from virt-v2v c9s.

I had to hand-hack the patches which touch common/ because they touch
some directories that are not listed as SUBDIRS by libguestfs, so not
included in the tarball.  Hopefully this will go away when upstream
stable-1.50 does a new stable release.
2023-05-04 10:58:01 +01:00
Richard W.M. Jones
5089358fe5 Bump and rebuild because of RHEL 9.3 shipshow #2
resolves: rhbz#2168625
2023-03-07 21:57:22 +00:00
Richard W.M. Jones
949e465d1e Bump and rebuild because of RHEL 9.3 shipshow
rhbz#2168625
2023-03-07 21:20:06 +00:00
Richard W.M. Jones
78dbd805f8 Rebase libguestfs to 1.50.1
resolves: rhbz#2168625
Use q35 machine type for libguestfs appliance
resolves: rhbz#2168578
2023-03-02 10:41:15 +00:00
Richard W.M. Jones
1c072685a9 New API: guestfs_inspect_get_build_id
Add support for detecting Windows >= 10, returned through osinfo
resolves: rhbz#2012658
2022-12-02 12:09:20 +00:00
Richard W.M. Jones
d44b01867e Move libguestfs-make-fixed-appliance to main package
resolve: rhbz#2140695

Cherry picked from Fedora commit ea7571f662
2022-11-08 15:00:29 +00:00
Richard W.M. Jones
a983a3cba0 Add zstd support to guestfs_file_architecture
resolves: rhbz#2117004
2022-08-10 08:48:02 +01:00
Richard W.M. Jones
8a4b914681 Rebase to new stable branch version 1.48.4
resolves: rhbz#2059285
2022-07-06 17:33:11 +01:00
Richard W.M. Jones
3fd2f945f8 Add clevis-luks to BRs, required for Clevis & Tang support
related: rhbz#1809453

(cherry picked from commit 9613879357)
2022-07-04 11:08:51 +01:00
Richard W.M. Jones
dac85f9e02 Add support for Clevis & Tang
resolves: rhbz#1809453
Fix CVE-2022-2211 Denial of Service in --key parameter
resolves: rhbz#2101281
2022-07-01 16:46:36 +01:00
Richard W.M. Jones
919dd2dd10 Enable PHP bindings
resolves: rhbz#2097718
2022-06-17 08:31:52 +01:00
Richard W.M. Jones
86277c2cc0 Fix lvm-set-filter failed in guestfish with the latest lvm2 package
resolves: rhbz#1965941
2022-06-13 14:34:39 +01:00
Richard W.M. Jones
3189d98758 Add dependency from libguestfs-rescue to base package
related: rhbz#2059285

This kept causing failures in OSCI.  Finally synchronise the Fedora
package with the RHEL 9.1 package to fix this.
2022-06-08 12:41:18 +01:00
Richard W.M. Jones
0b7021a86c Rebase to new stable branch version 1.48.3
resolves: rhbz#2059285

Check return values from librpm calls (2089623)
Document limitations of encrypted RBD disks
resolves: rhbz#2033247
2022-05-26 14:14:01 +01:00
Richard W.M. Jones
d4ba013a56 Disable 5-level page tables when using -cpu max
resolves: rhbz#2084568

(I forgot to include the patch in the previous build)
2022-05-12 21:02:58 +01:00
Richard W.M. Jones
6c716c264d Rebase to new stable branch version 1.48.2
resolves: rhbz#2059285
Disable 5-level page tables when using -cpu max
resolves: rhbz#2084568
SELinux relabelling should not stop on ext4 immutable bits
resolves: rhbz#1794518
Ignore "iface" in add-drive variants
resolves: rhbz#1844341
Lift protocol limit on guestfs_readdir()
resolves: rhbz#1674392
2022-05-12 17:12:50 +01:00
Richard W.M. Jones
e824d7ad85 Rebase to new stable branch version 1.48.1
resolves: rhbz#2059285
2022-04-14 17:44:31 +01:00
Richard W.M. Jones
ff591404d4 Disable signature checking in librpm
resolves: rhbz#2065172
2022-03-17 13:46:13 +00:00
Richard W.M. Jones
dd23a60a71 Rebase to new stable branch version 1.48.0
resolves: rhbz#2059285
2022-03-14 21:05:55 +00:00
Laszlo Ersek
96381bce89 Resolve rhbz#2030709, rhbz#2034160
- Add detection support for Rocky Linux
- Resolve conflict between manual and libvirt-assigned PCI addresses

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:02:03 +01:00
Laszlo Ersek
975798ac9b copy-patches: mask some differences in Laszlo's git setup
Restore these git defaults:
- core.abbrev=9
- -O/dev/null

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:01:02 +01:00
Laszlo Ersek
887dcfdf42 copy-patches: make it run on Laszlo's laptop too
Port virt-v2v dist-git commits cd77acc43380, 99c8749f70fb, and
818a2d3d6a80, to "copy-patches.sh".

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:00:56 +01:00
Richard W.M. Jones
e0c7084adb Rebase to new stable branch version 1.46.1
resolves: rhbz#2011711
Fix usage of strerror_r which caused corrupted error messages
resolves: rhbz#2030396
2021-12-09 19:35:58 +00:00
Richard W.M. Jones
d41847e5f9 Add --enable-appliance-format-auto
Add support for Kylin
Document lazy-counters setting cannot be changed in XFS version 5
resolves: rhbz#2025944, rhbz#1995391, rhbz#2024022
2021-11-23 13:34:05 +00:00
Richard W.M. Jones
83a688db51 Require libvirt-daemon-driver-storage-core
resolves: rhbz#2018358

(cherry picked from commit 04309c70cd)
2021-10-29 09:51:51 +01:00
Richard W.M. Jones
f8febbf143 Rebase to new stable branch version 1.46.0
resolves: rhbz#2011711
2021-10-08 13:07:45 +01:00
Richard W.M. Jones
61eede1ba3 Specify backing format for qemu 6.1
resolves: rhbz#1999419
2021-09-14 12:32:48 +01:00
Richard W.M. Jones
8b5d662685 Remove use of sga
resolves: rhbz#2002325
2021-09-13 10:50:23 +01:00
Mohan Boddu
65310658ad Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 21:26:22 +00:00
Richard W.M. Jones
117cba40b0 Fix: syslinux: failed to create ldlinux.sys
resolves: rhbz#1990720, rhbz#1950627

Fix license files.

(cherry picked from commit 4c961db464)

Move appliance to separate subpackage
resolves: rhbz#1989514

https://bugzilla.redhat.com/show_bug.cgi?id=1989514

Move the appliance to a subpackage (libguestfs-appliance).  The main
package depends on this new subpackage so in effect nothing changes
for most users.

However this allows the appliance to be replaced if there exists a
package called "libguestfs-noappliance".  This package is not provided
anywhere, you have to provide the dependency or make the package
yourself.  But if you do this then libguestfs won't install the
appliance and you are free to replace it with (eg) a fixed appliance.

(cherry picked from commit 941da64078)
2021-08-06 09:53:04 +01:00
Jeff Law
fbe9081a63 Re-enable LTO
resolves: rhbz#1986163

(cherry picked from commit 1ead53a482)
2021-07-26 21:07:58 +01:00
Richard W.M. Jones
49fc912a50 RHEL 9 patch for openssl missing configuration file
https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13
resolves: rhbz#1977214

(cherry picked from commit 689bd7669a)
2021-06-29 15:47:45 +01:00
Richard W.M. Jones
f314e28943 Remove Suggests for unsupported qemu drivers in RHEL
resolves: rhbz#1975703

(cherry picked from commit 2be2382c8f)
2021-06-24 10:04:02 +01:00
Richard W.M. Jones
de0d9b351c Bump and rebuild
resolves: rhbz#1975315
2021-06-23 18:19:33 +01:00
Richard W.M. Jones
b9809016de Depend on hivex-libs instead of hivex.
related: rhbz#1950627
2021-06-12 09:57:25 +01:00
Richard W.M. Jones
c317bf7d7d Add gating tests (for RHEL 9)
(cherry picked from commit af41447287)

Remove bogus timestamp added by rpmdev-bumpspec
(cherry picked from commit c8896d32cb)

resolves: rhbz#1950596
2021-06-02 10:42:30 +01:00
Richard W.M. Jones
d9b7e84530 Depend on rpm-libs >= 4.16.1.3
resolves: rhbz#1966541

(cherry picked from commit 6b72a37644)
2021-06-01 14:46:18 +01:00