Hello community, here is the log from the commit of package libguestfs for openSUSE:Factory checked in at 2014-07-10 14:55:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libguestfs (Old) and /work/SRC/openSUSE:Factory/.libguestfs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libguestfs" Changes: -------- --- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes 2014-07-04 09:34:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes 2014-07-10 14:55:24.000000000 +0200 @@ -1,0 +2,38 @@ +Mon Jul 7 10:12:36 CEST 2014 - oher...@suse.de + +- Update requirements for kvm package. Instead of calling qemu-kvm + and Requires: kvm, replace the Requires with /usr/bin/qemu-system-$ARCH + Define the helper for aarch64, ppc64, s390x and x86_64. + Other archs have to use LIBGUESTFS_HV= (bnc#884564) + +------------------------------------------------------------------- +Mon Jul 7 09:37:23 CEST 2014 - oher...@suse.de + +- Update to version 1.26.5 + * generator: Sort the structs. + * Use -v and -x flags consistently across OCaml virt-* tools. + * mllib: Rewrite text wrapping function so it can handle newlines within the text. + * mllib: Add a common 'warning' utility function. + * mllib: Add an interface for Common_utils library. + * mllib: Move common code for comparing version strings to library. + * options: Compile out part of union which cannot be used when not compiling guestfish. + * mllib: Create a common utility function is_directory. + * fuse: UID 0 should override all permissions checks (RHBZ#1106548). + * launch: libvirt: Only use serial BIOS (sgabios) on x86. + * daemon: print parameters for vgchange in error messages + * generator: fix daemon functions with optional params but no mandatory params + * appliance: Increase udev timeout to 6000s (RHBZ#1096579). + * launch: libvirt: Add -device sga (sgabios). + +------------------------------------------------------------------- +Fri Jul 4 09:51:06 CEST 2014 - oher...@suse.de + +- Add cdrkit-cdrtools-compat, psmisc, gptfdisk, syslinux to + BuildRequires to reduce amount of missing commands + +------------------------------------------------------------------- +Fri Jul 4 09:29:11 CEST 2014 - oher...@suse.de + +- Include mkinitrd scripts for btrfs, and include it in feature list + +------------------------------------------------------------------- Old: ---- libguestfs-1.26.3.tar.xz New: ---- libguestfs-1.26.5.tar.xz libguestfs.mkinitrd.boot-btrfs.sh libguestfs.mkinitrd.setup-btrfs.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libguestfs.spec ++++++ --- /var/tmp/diff_new_pack.9yfW78/_old 2014-07-10 14:55:25.000000000 +0200 +++ /var/tmp/diff_new_pack.9yfW78/_new 2014-07-10 14:55:25.000000000 +0200 @@ -17,7 +17,7 @@ # -Version: 1.26.3 +Version: 1.26.5 Release: 0 %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) @@ -95,6 +95,21 @@ %define kernel_binary /boot/uImage %endif # +# use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify +%define kvm_binary /bin/false +%ifarch aarch64 +%define kvm_binary /usr/bin/qemu-system-aarch64 +%endif +%ifarch ppc64 +%define kvm_binary /usr/bin/qemu-system-ppc64 +%endif +%ifarch s390x +%define kvm_binary /usr/bin/qemu-system-s390x +%endif +%ifarch x86_64 +%define kvm_binary /usr/bin/qemu-system-x86_64 +%endif +# %define guestfs_docdir %{_defaultdocdir}/%{name} # Name: libguestfs @@ -169,6 +184,8 @@ Source17: libguestfs.mkinitrd.setup-md.sh Source18: libguestfs.mkinitrd.boot-nfs.sh Source19: libguestfs.mkinitrd.setup-nfs.sh +Source20: libguestfs.mkinitrd.boot-btrfs.sh +Source21: libguestfs.mkinitrd.setup-btrfs.sh # Source1220: libguestfs.mkinitrd.1220.patch Source1210: libguestfs.mkinitrd.1210.patch @@ -205,7 +222,7 @@ Group: System/Filesystems Provides: %{name} = %{version} Obsoletes: %{name} < %{version} -Requires: kvm >= 1.1 +Requires: %{kvm_binary} %if %{with bash_completion} Recommends: bash-completion >= 2.0 %endif @@ -365,6 +382,7 @@ BuildRequires: augeas-lenses BuildRequires: btrfsprogs BuildRequires: bzip2 +BuildRequires: cdrkit-cdrtools-compat BuildRequires: coreutils BuildRequires: cpio BuildRequires: cryptsetup @@ -383,6 +401,9 @@ BuildRequires: genisoimage BuildRequires: glibc BuildRequires: grep +%if %suse_version > 1210 +BuildRequires: gptfdisk +%endif BuildRequires: gzip BuildRequires: iproute2 BuildRequires: jfsutils @@ -397,9 +418,13 @@ BuildRequires: ntfs-3g BuildRequires: ntfsprogs BuildRequires: parted +BuildRequires: psmisc BuildRequires: reiserfs BuildRequires: rsync BuildRequires: strace +%ifarch %ix86 x86_64 +BuildRequires: syslinux +%endif BuildRequires: tar BuildRequires: terminfo-base BuildRequires: udev @@ -483,7 +508,7 @@ # With QEMU in environment qemu and kvm packages are not needed at build time. # With SUPERMIN and SUPERMIN_HELPER in environment, supermin package is not needed at build time. export vmchannel_test=no -export QEMU=/usr/bin/qemu-kvm +export QEMU="%{kvm_binary}" export SUPERMIN=supermin export SUPERMIN_HELPER=supermin-helper # for configure macro below @@ -650,6 +675,8 @@ cp -avL %{S:17} mkinitrd/scripts/setup-md.sh cp -avL %{S:18} mkinitrd/scripts/boot-nfs.sh cp -avL %{S:19} mkinitrd/scripts/setup-nfs.sh +cp -avL %{S:20} mkinitrd/scripts/setup-btrfs.sh +cp -avL %{S:21} mkinitrd/scripts/setup-btrfs.sh cp -avb /lib/mkinitrd/scripts/* mkinitrd/scripts mkdir -vp mkinitrd/setup mkinitrd/boot ln -sfvbn lib/mkinitrd/bin mkinitrd/bin @@ -738,7 +765,7 @@ -i initramfs.${arch}.img \ -b $PWD/mkinitrd/boot_tmp \ -m "$additional_modules" \ - -f "lvm2 dm md network nfs" \ + -f "lvm2 dm md network nfs btrfs" \ -B # mkdir -vp $RPM_BUILD_ROOT%{_libdir}/guestfs ++++++ 0000-hotfix.patch ++++++ --- /var/tmp/diff_new_pack.9yfW78/_old 2014-07-10 14:55:25.000000000 +0200 +++ /var/tmp/diff_new_pack.9yfW78/_new 2014-07-10 14:55:25.000000000 +0200 @@ -1,4 +1,4 @@ -From 0c5d0904ac4699ba02af1815598fa57ba296d3fd Mon Sep 17 00:00:00 2001 +From 032655f5dd4fcc06a0c4da91efde617ac1536080 Mon Sep 17 00:00:00 2001 From: Olaf Hering <o...@aepfle.de> Date: Tue, 13 May 2014 15:31:21 +0200 Subject: hotfix ++++++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++++++ --- /var/tmp/diff_new_pack.9yfW78/_old 2014-07-10 14:55:25.000000000 +0200 +++ /var/tmp/diff_new_pack.9yfW78/_new 2014-07-10 14:55:25.000000000 +0200 @@ -1,4 +1,4 @@ -From ec0d8e661b5cb97ea3e2ed5ffb86bdfb538fca00 Mon Sep 17 00:00:00 2001 +From 01e40a5583c02603cb4fccaddfd06e60804d96f6 Mon Sep 17 00:00:00 2001 From: Olaf Hering <o...@aepfle.de> Date: Mon, 3 Sep 2012 19:50:44 +0200 Subject: force virtio_blk in old guest kernel @@ -14,10 +14,10 @@ 6 files changed, 27 insertions(+), 4 deletions(-) diff --git a/fish/options.c b/fish/options.c -index 80b71ec..2cef1bc 100644 +index 5e6eb73..2c1a48a 100644 --- a/fish/options.c +++ b/fish/options.c -@@ -100,7 +100,10 @@ add_drives_handle (guestfs_h *g, struct drv *drv, char next_drive) +@@ -101,7 +101,10 @@ add_drives_handle (guestfs_h *g, struct drv *drv, char next_drive) { int r; struct guestfs_add_drive_opts_argv ad_optargs; @@ -29,7 +29,7 @@ if (next_drive > 'z') { fprintf (stderr, _("%s: too many drives added on the command line\n"), -@@ -114,7 +117,7 @@ add_drives_handle (guestfs_h *g, struct drv *drv, char next_drive) +@@ -115,7 +118,7 @@ add_drives_handle (guestfs_h *g, struct drv *drv, char next_drive) free (drv->device); drv->device = NULL; @@ -100,7 +100,7 @@ } else if ((part = match1 (g, spec, re_diskbyid)) != NULL) { diff --git a/src/launch-direct.c b/src/launch-direct.c -index 2332368..67b9fd4 100644 +index 070dfca..fa5d08b 100644 --- a/src/launch-direct.c +++ b/src/launch-direct.c @@ -1183,6 +1183,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct backend_direct_data *data) ++++++ libguestfs-1.26.3.tar.xz -> libguestfs-1.26.5.tar.xz ++++++ ++++ 46523 lines of diff (skipped) ++++++ libguestfs.mkinitrd.boot-btrfs.sh ++++++ #!/bin/bash -e #%stage: filesystem #%depends: dm dmraid lvm2 udev md luks #%programs: btrfs #%programs: btrfs-convert #%programs: btrfs-debug-tree #%programs: btrfs-dump-super #%programs: btrfs-find-root #%programs: btrfs-image #%programs: btrfs-select-super #%programs: btrfs-zero-log #%programs: btrfsck #%programs: btrfstune # for fsck(8): listed twice so that a copy really ends up in /sbin #%programs: /sbin/fsck.btrfs #%programs: fsck.btrfs #%programs: mkfs.btrfs #%modules: btrfs modprobe btrfs btrfs dev scan >& /dev/null ++++++ libguestfs.mkinitrd.setup-btrfs.sh ++++++ #!/bin/bash # #%stage: filesystem mkdir -p $tmp_mnt/etc/udev/rules.d cp /usr/lib/udev/rules.d/64-btrfs.rules $tmp_mnt/etc/udev/rules.d -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org