Commit Graph

12102 Commits

Author SHA1 Message Date
rwmjones
2f0fa0fd23 Merge pull request #175 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2025-03-22 11:47:37 +00:00
Weblate
693465e057 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-03-22 11:53:58 +01:00
Ricky Tigg
4d6387da3f Translated using Weblate (Finnish)
Currently translated at 1.1% (152 of 13341 strings)

Translation: libguestfs/libguestfs-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-docs-master/fi/
2025-03-22 11:53:58 +01:00
Richard W.M. Jones
090ea7656e build: Remove detection of lex and yacc
These are not required by libguestfs.  They were used by virt-builder,
but that tool has now been moved to a separate project
(guestfs-tools).

Fixes: commit 733d2182b6
2025-03-22 10:51:21 +00:00
Richard W.M. Jones
f7083e588e build: Add heading about basic build environment
(cherry picked from
virt-v2v commit c523c63a4916b5620666341dad54bf5d999c1fbe)
2025-03-16 13:58:56 +00:00
Richard W.M. Jones
21ae4c37b7 build: Only use ANSI colour sequences if stdout is a terminal
https://stackoverflow.com/a/10022396
2025-03-11 21:04:20 +00:00
Richard W.M. Jones
3a8947323b build: Colourize features
Print yes features in green and no features in red.
2025-03-11 15:31:17 +00:00
Richard W.M. Jones
cf75c12a9e build: Embolden headings in configure output
If using a colour terminal, display headings in bold.
2025-03-11 15:30:18 +00:00
Richard W.M. Jones
471d328b9e build: Add 'feature' and 'print' to display configured features.
Borrow 'feature' and 'print' functions from nbdkit and use these to
display configured features in a simpler and more consistent way.
2025-03-11 15:28:50 +00:00
Richard W.M. Jones
e765e31f3a Version 1.55.7. v1.55.7 2025-03-11 14:44:16 +00:00
Richard W.M. Jones
4176b2043f daemon: Fix loongarch64 detection on RHEL 9
$ rpm -q file
file-5.39-16.el9.x86_64
$ file ./test-data/binaries/bin-loongarch64-dynamic
./test-data/binaries/bin-loongarch64-dynamic: ELF 64-bit LSB pie executable, *unknown arch 0x102* version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-loongarch-lp64d.so.1, BuildID[sha1]=7622a1a70bf6e697851ac3790557e1ca686459b5, for GNU/Linux 5.19.0, stripped

Updates: commit 729d6d55ea
2025-03-11 13:40:14 +00:00
Richard W.M. Jones
bf4a6c2f85 build: Remove unused website/download/builder/ directory 2025-03-11 11:00:29 +00:00
Richard W.M. Jones
31fa712aa0 lib: Print kernel utsname in debug output
Useful for debugging problems caused by the host kernel.  In
particular we were looking at a problem with passt creating a user
namespace but didn't know what exact kernel was being used.
2025-03-10 18:56:39 +00:00
rwmjones
01909c51ff Merge pull request #174 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2025-03-05 12:34:03 +00:00
Yuri Chornoivan
58a72cb2aa Translated using Weblate (Ukrainian)
Currently translated at 100.0% (960 of 960 strings)

Translation: libguestfs/libguestfs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-master/uk/
2025-03-05 07:38:45 +01:00
rwmjones
4401d81654 Merge pull request #173 from weblate/weblate-libguestfs-libguestfs-master
Translations update from Fedora Weblate
2025-03-04 08:39:52 +00:00
Weblate
8876360d97 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-03-03 22:09:20 +01:00
Krascovict Petrov
f63f88a5bf Translated using Weblate (Portuguese (Brazil))
Currently translated at 0.1% (24 of 13337 strings)

Translation: libguestfs/libguestfs-docs-master
Translate-URL: https://translate.fedoraproject.org/projects/libguestfs/libguestfs-docs-master/pt_BR/
2025-03-03 22:09:20 +01:00
denisecheng
0c70675aae support TencentOS
Signed-off-by: denisecheng <denisecheng@tencent.com>
Fixes: https://github.com/libguestfs/libguestfs/pull/172
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2025-03-03 14:22:37 +00:00
Jacob Reger
f81444ccad libguestfs: Rust binding build error and warning fixes
Internal error type did not implement the necessary traits to be
treated as a proper Rust error. This would cause ergonomic issues
with manual error handling and with error handling crates like
anyhow. Implement the Display and Error trait for internal Error
type. This also fixes the build warnings.

Signed-off-by: Jacob Reger <regerjacob@gmail.com>
2025-02-25 22:00:12 +00:00
Jacob Reger
d7d5264ce8 libguestfs: Rust binding build error and warning fixes
Fixed break in Rust bindings where callback registering expected a
*const i8, but were provided with a *const c_char. Changed to be both
*const c_char in alignment with the libguestfs documentation.

Signed-off-by: Jacob Reger <regerjacob@gmail.com>
2025-02-25 21:53:36 +00:00
Richard W.M. Jones
95ed25aba6 Version 1.55.6. v1.55.6 2025-02-19 16:42:52 +00:00
Richard W.M. Jones
47ac4871b2 daemon: New command_out and sh_out APIs
These APIs allow you to capture output from guest commands that
generate more output than the protocol limit allows.

Thanks: Nijin Ashok
Fixes: https://issues.redhat.com/browse/RHEL-80159
2025-02-19 12:01:10 +00:00
Richard W.M. Jones
8d61b04dd6 ruby: Make sure all object files are cleaned up
There were several, large *.o files left over after 'make clean':

$ ls ruby/ext/guestfs/
actions-0.c  actions-2.c  actions-4.c  actions-6.c    handle.c
actions-0.o  actions-2.o  actions-4.o  actions-6.o    handle.o
actions-1.c  actions-3.c  actions-5.c  actions.h      module.c
actions-1.o  actions-3.o  actions-5.o  extconf.rb.in  module.o
2025-02-18 11:57:07 +00:00
Richard W.M. Jones
a1ecc0006c tests/syslinux/test-syslinux.pl: Send skip messages to stderr
Otherwise they won't appear in test-suite.log.
2025-02-18 11:55:07 +00:00
Richard W.M. Jones
3749443464 tests/syslinux/test-syslinux.pl: Fix disk image location
tests/Makefile.am assumes the test image is located in
tests/syslinux/, but we actually created it in tests/.  Fix the
location, and also ensure the test will clean it up after running
successfully.
2025-02-18 11:53:41 +00:00
Richard W.M. Jones
14e78e9ac8 Version 1.55.5. v1.55.5 2025-02-18 10:10:03 +00:00
Richard W.M. Jones
72cfaff5c5 Update copyright dates for 2025
Automated using this command:

perl -pi.bak -e 's/(20[012][0-9])-20[12][01234]/$1-2025/g' `git ls-files`
2025-02-16 17:00:46 +00:00
Richard W.M. Jones
1b7d905d43 logo: Restore year banner in logo
Fixes: commit e2c7bddf10
2025-02-16 16:57:43 +00:00
Richard W.M. Jones
32644856e7 build: Remove test-functions.sh which was moved and renamed
Fixes: commit b5fbc7e617
2025-02-16 15:39:31 +00:00
Richard W.M. Jones
b5fbc7e617 tests: Replace $TEST_FUNCTIONS
Replace strange $TEST_FUNCTIONS variable/expansion thing with
something more like what we use in nbdkit, a simple tests/functions.sh
script that gets sourced into each test script.

Update the common submodule to get:

  commit 8137d47d0e654065391151eb275e3b64f230f6f5
  Author: Richard W.M. Jones <rjones@redhat.com>
  Date:   Thu Feb 13 11:13:55 2025 +0000

    mlcustomize, mltools: Replace $TEST_FUNCTIONS

    TEST_FUNCTIONS is being removed from libguestfs and guestfs-tools (it
    was removed from virt-v2v a while back).  Make the same adjustment in
    the common submodule.

(and some other commits which are not relevant to libguestfs)
2025-02-13 11:15:34 +00:00
Daniel Gomez
82e2dea96a appliance: add support for sfdisk on Debian
Fixes virt-builder error:

virt-builder: error: libguestfs error: inspect_os: execvp: sfdisk: No
such file or directory

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
2025-02-06 08:26:20 +00:00
Daniel Gomez
91fab3f498 appliance: add dhcpcd support on Debian
Debian has replaced the deprecated isc-dhcp-client (dhclient) with
dhcpcd-base (dhcpcd) as the default DHCP client [1]. This causes network
issues in virt-builder since isc-dhcp-client is no longer installed
by default.

Add support for dhcpcd (dhcpcd-base package) in Debian.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041066

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
2025-02-06 08:26:20 +00:00
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