921cbcfab0
libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh libguestfs.test.simple.create-opensuse-guest.sh libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh libguestfs.test.simple.create-sles12-guest.sh - Allow the use busybox dhcp client appliance.patch netconfig.patch - Update to version 1.44.2 makefile-ocaml-find-guestfs.patch * Port libguestfs to use pcre2 instead of pcre * inspection: More reliable detection of Linux split /usr configurations * python: Relicense setup.py to LGPLv2+ (originally GPLv2+) * lib: qemu: Don't use -enable-fips option. * rust: Fix deprecated use of panic!(format!(...)) * point users to Libera Chat rather than FreeNode * python: Don't leak fields when creating Python structs * appliance: Add IBM850 iconv converter for syslinux * launch: board model for RISC-V * lib: Add osinfo information for Windows Server 2022 Datacenter * lib: Autodetect backing format for qemu-img create -b * appliance: Fix searching for shared libraries on usr-merged Debian systems * appliance: Add mount package for Debian * m4/guestfs-appliance.m4: Add support for Alma and Cloud Linux * daemon/luks.c: Ignore bogus GCC -fanalyzer double-free warning * daemon/xattr.c: Increase size of temporary buffer for %zu * daemon/utils.c: Fix potential unbounded stack usage * Various other bug fixes - Upstream bug fixes post 1.44.2 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=480
27 lines
1008 B
Diff
27 lines
1008 B
Diff
Index: libguestfs-1.42.0/appliance/init
|
||
===================================================================
|
||
--- libguestfs-1.42.0.orig/appliance/init
|
||
+++ libguestfs-1.42.0/appliance/init
|
||
@@ -127,8 +127,10 @@ if test "$guestfs_network" = 1; then
|
||
rm -f /etc/dhcp/dhclient-enter-hooks.d/resolved
|
||
if dhclient --version >/dev/null 2>&1; then
|
||
dhclient $iface
|
||
- else
|
||
+ elif dhcpcd --version ; then
|
||
dhcpcd $iface
|
||
+ elif busybox udhcpc --help ; then
|
||
+ busybox udhcpc --quit -v
|
||
fi
|
||
fi
|
||
|
||
@@ -245,7 +245,8 @@ else
|
||
echo "Note: The contents of / (root) are the rescue appliance."
|
||
if ! test -d "/sysroot/dev"; then
|
||
echo "You have to mount the guest’s partitions under /sysroot"
|
||
- echo "before you can examine them."
|
||
+ echo "before you can examine them. A helper script for that exists:"
|
||
+ echo "mount-rootfs-and-chroot.sh /dev/sda2"
|
||
else
|
||
echo "Use 'cd /sysroot' or 'chroot /sysroot' to see guest filesystems."
|
||
fi
|