SHA256
1
0
forked from pool/libguestfs

- bsc#1206361 - SLES 15 SP5 Beta2 - virt-customize ssh-inject fails

(s390x/kvm/libvirt) (-> Server-Applications module)
  use-rtc-driftfix-slew-for-x86-only.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=568
This commit is contained in:
Charles Arnold 2024-02-06 17:46:24 +00:00 committed by Git OBS Bridge
parent a47ed8d595
commit b13d3ce30c
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 5 14:24:08 MST 2024 - carnold@suse.com
- bsc#1206361 - SLES 15 SP5 Beta2 - virt-customize ssh-inject fails
(s390x/kvm/libvirt) (-> Server-Applications module)
use-rtc-driftfix-slew-for-x86-only.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 1 04:30:27 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Thu Feb 1 04:30:27 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -32,6 +32,7 @@ Source100: mount-rootfs-and-chroot.sh
Source101: README Source101: README
# Patches # Patches
Patch1: use-rtc-driftfix-slew-for-x86-only.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: file-devel BuildRequires: file-devel

View File

@ -0,0 +1,13 @@
--- libguestfs-1.52.0/lib/launch-direct.c.orig 2024-02-05 14:17:10.208970293 -0700
+++ libguestfs-1.52.0/lib/launch-direct.c 2024-02-05 14:21:37.548976664 -0700
@@ -650,7 +650,10 @@ launch_direct (guestfs_h *g, void *datav
flag ("-no-reboot");
/* These are recommended settings, see RHBZ#1053847. */
+#if defined(__i386__) || defined(__x86_64__)
+ /* Man page states, "Enable driftfix (i386 targets only)" */
arg ("-rtc", "driftfix=slew");
+#endif
if (guestfs_int_qemu_supports (g, data->qemu_data, "-no-hpet"))
flag ("-no-hpet");
#if defined(__i386__) || defined(__x86_64__)