Commit Graph

12069 Commits

Author SHA1 Message Date
Richard W.M. Jones
2c6fb596b7 Version 1.55.4. v1.55.4 2025-02-05 13:33:39 +00:00
Richard W.M. Jones
6ba8449927 appliance/init: Fix /usr/sbin symlinks in Fedora 42+
Since Fedora 42 merged /usr/sbin and /usr/bin, /usr/sbin is usually
populated with symbolic links to binaries in /usr/bin.  These are
created by a complicated script in filesystem.spec that we don't run.
Emulate sort of what that script is doing instead.

This is a hack that we can eventually remove, hopefully.

See-also: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PCU2WWLEGLGIOY4TCCBIHLYS6ZCZ4GSS/
2025-02-05 13:09:26 +00:00
rwmjones
0dee44bd36 Merge pull request #169 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2025-02-03 08:04:00 +00:00
Ricky Tigg
9cfa081a91 Translated using Weblate (Finnish)
Currently translated at 9.7% (94 of 960 strings)

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/fi/
2025-01-11 08:16:02 +01:00
rwmjones
16a407fc44 Merge pull request #168 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2025-01-09 09:13:25 +00:00
Weblate
19e2caf587 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/
2025-01-09 09:38:45 +01:00
Ricky Tigg
1d7897aa63 Translated using Weblate (Finnish)
Currently translated at 1.4% (231 of 16048 strings)

Translation: libguestfs/libguestfs-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-docs-master/fi/
2025-01-09 09:38:44 +01:00
Richard W.M. Jones
ef64bb6a88 Version 1.55.3. v1.55.3 2025-01-08 17:43:19 +00:00
Richard W.M. Jones
2ec93578be po-docs/libguestfs-docs.pot: Rebuild this file from scratch
Reported-by: Ricky Tigg
Fixes: https://github.com/libguestfs/libguestfs/issues/167
2025-01-08 12:12:07 +00:00
Richard W.M. Jones
b875c5e6b0 dist: Force po-docs/libguestfs-docs.pot to be rebuilt
It's not ideal to delete this file, but it seems like the only way to
force make to really rebuild it.
2025-01-08 12:10:33 +00:00
Richard W.M. Jones
48d3264573 po-docs: Use po4a-updatepo
As far as I can tell using po4a-gettextize was wrong here.  The right
subtool for combining multiple documents into a .pot is po4a-updatepo,
so use that one instead.
2025-01-08 12:04:26 +00:00
Richard W.M. Jones
1aa883c50d docs/guestfs-release-notes-1.34.pod: Clarify confusing language
Reported-by: Ricky Tigg
Fixes: https://github.com/libguestfs/libguestfs/issues/167
2025-01-08 11:44:39 +00:00
rwmjones
0e982277fa Merge pull request #164 from rwmjones/issue162
daemon: Translate file 5.46 "Intel i386" to "i386"
2025-01-06 09:39:06 +00:00
Richard W.M. Jones
ed21af3b0a daemon: Translate file 5.46 "Intel i386" to "i386"
Fixes: https://github.com/libguestfs/libguestfs/issues/162
Reported-by: Toolybird
2025-01-02 16:13:35 +00:00
rwmjones
7008e2e350 Merge pull request #161 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2025-01-02 15:43:25 +00:00
Ricky Tigg
1e52c5b253 Translated using Weblate (Finnish)
Currently translated at 1.3% (211 of 16048 strings)

Translation: libguestfs/libguestfs-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-docs-master/fi/
2024-12-20 16:48:24 +01:00
Weblate
db0ad1f25d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/
2024-12-20 10:39:13 +01:00
Ricky Tigg
0ffef7e655 Translated using Weblate (Finnish)
Currently translated at 1.2% (199 of 16048 strings)

Translation: libguestfs/libguestfs-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-docs-master/fi/

Translated using Weblate (Finnish)

Currently translated at 9.6% (93 of 960 strings)

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/fi/
2024-12-20 10:39:13 +01:00
Richard W.M. Jones
996dd8774f build: Move baseline OCaml to 4.08
OCaml 4.08.0 was released on 2019-06-14, over 5 years ago.  By
requiring a slightly later OCaml version, we can drop more
compatibility code which was only used by older versions.

Consistent with qemu & libvirt, this drops support for compiling
upstream libguestfs on RHEL 8 (ocaml-4.07.0-4.el8.x86_64).

Qemu policy:
https://www.qemu.org/docs/master/about/build-platforms.html

Libvirt policy:
https://libvirt.org/platforms.html

Update the common submodule, pulling in:

  Richard W.M. Jones (4):
      qemuopts: Add ability to add raw, unquoted output to qemu scripts
      qemuopts: Fix missing break statement
      mlstdutils: Remove Option module
      Remove test for caml_alloc_initialized_string
2024-11-21 14:30:44 +00:00
Richard W.M. Jones
453de98bda Version 1.55.2. v1.55.2 2024-11-18 14:39:38 +00:00
Richard W.M. Jones
4ebec324fe docs: recipes: Update xpath command
Link: https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/SOWJHHHJXDFAKSCCLXCNUE5X7W22VUEQ/
Reported-by: Emmanuel Kasper
2024-11-18 14:05:06 +00:00
Richard W.M. Jones
73186b154c generator: Remove common/mlv2v/uefi.ml{,i} files
Stop generating these files.  They are currently only used by virt-v2v
-o qemu mode, and there are better ways to locate the UEFI files
there.

Update the common submodule to bring in:

  Richard W.M. Jones (5):
      mlcustomize: Add heuristic support for Windows Server 2025
      mlcustomize/customize_run.ml: Move 'in' to new line
      mlstdutils/guestfs_config: Define host_os
      mlcustomize, mltools: Check guest OS is compatible before allowing --run
      Remove mlv2v/ subdirectory
2024-11-15 11:43:50 +00:00
rwmjones
8af8e15b44 Merge pull request #159 from twouters/bugfix/dhcpcd_resolvconf_symlink
Fix dhcpcd failing on systemd-resolved stub
2024-11-14 09:01:05 +00:00
Thomas Wouters
84d1cd0707 Fix dhcpcd failing on systemd-resolved stub
dhcpcd fails to update /etc/resolv.conf if is a dangling symlink, so remove it
if it is.

This happens on Arch Linux when systemd-resolved is enabled by symlinking
/etc/resolv.conf to /run/systemd/resolve/stub-resolv.conf. The symlink is copied
into the supermin appliance, but the target file is not and this causes dhcpcd to
fail when it tries to update /etc/resolv.conf.

The handling of /etc/resolv.conf could be improved in dhcpcd but it's not their
job to decide when to remove the symlink. We do have the authority to decide
whether or not to use systemd-resolved or resolvconf in the appliance, so we can
remove it.
2024-11-13 14:09:59 +01:00
rwmjones
7d551fa7db Merge pull request #158 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2024-11-06 12:22:03 +00:00
Weblate
2ce7b00e1e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/
2024-11-06 13:16:54 +01:00
Léane GRASSER
ea86636649 Translated using Weblate (French)
Currently translated at 63.8% (614 of 961 strings)

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/fr/
2024-11-06 13:16:54 +01:00
Richard W.M. Jones
a47e2cf6a8 website: Fix link to latest development version
Fixes: commit 0edaea8f91
2024-10-22 17:44:06 +01:00
Richard W.M. Jones
7932b92379 Version 1.55.1. v1.55.1 2024-10-22 17:38:11 +01:00
Richard W.M. Jones
9255abee02 build: Remove Jansson dependency
After previous changes, this library is no longer used.  We have
switched to json-c, for better compatibility with libvirt.

(cherry picked from
guestfs-tools commit e6dcf7e3a7e9170978e57ce6df1b34f92fac5ae3)
2024-10-22 16:44:53 +01:00
Richard W.M. Jones
9e3c1f44ca lib/qemu.c: Replace jansson with json-c 2024-10-22 16:44:53 +01:00
Richard W.M. Jones
47857751a7 lib: direct: Remove test for qemu mandatory locking
We tested for QEMU >= 2.10 support for mandatory locking.  I believe
this is for all practical purposes always enabled now (and qemu 2.10
is ancient history) so simply assume it's true always.
2024-10-22 16:23:07 +01:00
Richard W.M. Jones
13e3222f34 lib/info.c: Replace jansson with json-c 2024-10-22 16:03:16 +01:00
Richard W.M. Jones
8e34b37bcd common: Update common submodule
Although we don't use JSON_parser in libguestfs, update the submodule
just to get rid of another Jansson dependency:

  Richard W.M. Jones (1):
      mltools: Replace jansson with json-c
2024-10-22 15:35:14 +01:00
Richard W.M. Jones
5ea1e899e0 daemon/ldm.c: Replace jansson with json-c 2024-10-22 11:02:38 +01:00
Richard W.M. Jones
53872a0a1a build: Add new dependency on json-c
This will eventually replace Jansson for all JSON parsing.  However
this commit simply introduces the new dependency in the configure
script and documents it.

I chose json-c 0.14 as the baseline since that is the version in RHEL 9.
Probably earlier versions would work.
2024-10-22 11:01:25 +01:00
Richard W.M. Jones
798e3e59b2 appliance: Refactor the TAR_COMMAND macro
No change, just make it easier to understand.

Updates: commit 53632b4b82
2024-10-22 09:15:56 +01:00
Richard W.M. Jones
53632b4b82 appliance: Use stable owner, group and mtime in appliance tarballs
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2320025
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2024-10-21 12:14:03 +01:00
Richard W.M. Jones
e37768d889 build: Assume __attribute__((cleanup)) always works
All recent compilers support this (except MS compilers which we don't
care about).  Assume it is supported.  We test it in ./configure and
hard fail if it doesn't work.

We still define HAVE_ATTRIBUTE_CLEANUP but you can now assume it is
always defined and don't have to check it.
2024-10-18 21:55:21 +01:00
Richard W.M. Jones
0f489f8eec lib/inspect-osinfo.c: Add Windows Server 2025 osinfo
The guest was found to have these inspection fields:

    type: windows
    distro: windows
    product_name: Windows Server 2025 Standard
    product_variant: Server
    version: 10.0
    arch: x86_64
    hostname: WIN-84V4KKQ30SM
    build ID: 26080
    windows_systemroot: /Windows
    windows_software_hive: /Windows/System32/config/SOFTWARE
    windows_system_hive: /Windows/System32/config/SYSTEM
    windows_current_control_set: ControlSet001

Reported-by: Ming Xie
Fixes: https://issues.redhat.com/browse/RHEL-62935
2024-10-17 08:59:49 +01:00
Richard W.M. Jones
c25ff1a802 tests/gdisk/test-expand-gpt.pl: Implement SKIP rule for this test
Reported-by: David Runge
Related: https://github.com/libguestfs/libguestfs/issues/155
2024-10-14 10:43:08 +01:00
Richard W.M. Jones
0edaea8f91 website: Add links for 1.54 and 1.55 download locations 2024-10-08 14:53:38 +01:00
Richard W.M. Jones
3fb6ebb342 Version 1.54.0. v1.54.0 2024-10-08 14:37:12 +01:00
Richard W.M. Jones
e4691f66b7 docs: Finalize release notes for libguestfs 1.54 2024-10-08 13:41:43 +01:00
Richard W.M. Jones
715b5def13 Version 1.53.7. v1.53.7 2024-10-03 13:09:36 +01:00
Richard W.M. Jones
49f118e9da docs: Create outline release notes for 1.54 2024-10-02 16:13:52 +01:00
Richard W.M. Jones
e97c6f5933 bugs-in-changelog.sh: List Jira IDs and github issues in output 2024-10-02 16:02:43 +01:00
Richard W.M. Jones
a6639afb74 po-docs: Add mlcustomize POD to po-docs/podfiles
Add these two files from the common/ submodule:

common/mlcustomize/v2v-customize-options.pod
common/mlcustomize/v2v-customize-synopsis.pod

Updates: commit fe1ce09242
2024-10-02 15:48:41 +01:00
Richard W.M. Jones
e55eac12d4 docs: Update libguestfs email address in a couple more places
Reported-by: Julian Euler
2024-09-12 12:45:54 +01:00
Wang Guoquan
1d8924c343 libguestfs: Support openEuler
openEuler is simliar to CentOS, but the ID is not lower-case string,
as below:

    NAME="openEuler"
    VERSION="24.03 (LTS)"
    ID="openEuler"
    VERSION_ID="24.03"
    PRETTY_NAME="openEuler 24.03 (LTS)"
    ANSI_COLOR="0;31"

Signed-off-by: Wang Guoquan <wangguoquan03@foxmail.com>
2024-09-10 11:33:20 +01:00