Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-09-02 17:02:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2013-08-23 
11:05:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes       
2013-09-02 17:02:16.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug 29 21:36:08 CEST 2013 - oher...@suse.de
+
+- Add support for lvm (bnc#837595)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libguestfs.spec ++++++
--- /var/tmp/diff_new_pack.iZYj9D/_old  2013-09-02 17:02:17.000000000 +0200
+++ /var/tmp/diff_new_pack.iZYj9D/_new  2013-09-02 17:02:17.000000000 +0200
@@ -667,6 +667,7 @@
        -i initramfs.${arch}.img \
        -b $PWD/mkinitrd/boot_tmp \
        -m "$additional_modules" \
+       -f "lvm2 dm md network nfs" \
        -B
 #
 mkdir -vp $RPM_BUILD_ROOT%{_libdir}/guestfs

++++++ libguestfs.mkinitrd.boot.sh ++++++
--- /var/tmp/diff_new_pack.iZYj9D/_old  2013-09-02 17:02:17.000000000 +0200
+++ /var/tmp/diff_new_pack.iZYj9D/_new  2013-09-02 17:02:17.000000000 +0200
@@ -114,6 +114,12 @@
 
 # from libguestfs-1.19.34/appliance/init:
 
+# Disk optimizations.
+# Increase the SCSI timeout so we can read remote images.
+for f in /sys/block/sd*/device/timeout; do if test -w $f ; then echo 300 > $f; 
fi; done
+# https://access.redhat.com/site/solutions/5427
+for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do if test -w $f ; then echo 
noop > $f; fi; done
+
 # Scan for MDs.
 mdadm -As --auto=yes --run
 
@@ -123,22 +129,21 @@
 lvm vgscan --ignorelockingfailure
 lvm vgchange -ay --ignorelockingfailure
 
-# Improve virtio-blk performance (RHBZ#509383).
-for f in /sys/block/vd*/queue/rotational; do if test -f $f ; then echo 1 > $f; 
fi ; done
-
 # These are useful when debugging.
 if grep -sq guestfs_verbose=1 /proc/cmdline; then
     ls -lR /dev
     head -n 1234 \
-       /proc/mounts \
+       /proc/mounts \
        /proc/modules \
        /proc/cpuinfo \
        /proc/uptime \
        /proc/version \
        /proc/partitions
-    lvm pvs
-    lvm vgs
-    lvm lvs
+    for i in pvs vgs lvs
+    do
+        echo "# lvm $i:"
+        lvm $i
+    done
 #   ip a
 #   ip r
     date

++++++ libguestfs.mkinitrd.setup.sh ++++++
--- /var/tmp/diff_new_pack.iZYj9D/_old  2013-09-02 17:02:17.000000000 +0200
+++ /var/tmp/diff_new_pack.iZYj9D/_new  2013-09-02 17:02:17.000000000 +0200
@@ -44,6 +44,17 @@
        done
 done
 
+# copy needed rules
+for rule in \
+       95-dm-notify.rules \
+       ; do
+       if [ -f /lib/udev/rules.d/$rule ]; then
+               cp /lib/udev/rules.d/$rule $tmp_mnt/lib/udev/rules.d
+       elif [ -f /etc/udev/rules.d/$rule ]; then
+               cp /etc/udev/rules.d/$rule $tmp_mnt/etc/udev/rules.d
+       fi
+done
+
 # Need to create the modprobe.conf file to force read-write mode
 if modinfo -k $kernel_version ext4 | grep -E '^parm:[[:blank:]]+rw:'
 then

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to