[libguestfs] Remove some old debugging from the spec file.

Richard W.M. Jones rjones at fedoraproject.org
Mon Jul 30 19:09:26 UTC 2012


commit 75861eac9d20bfaef85f6885aff650d1744453cd
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jul 27 10:28:00 2012 +0100

    Remove some old debugging from the spec file.
    
    Not useful recently, and we can always add it back if we
    need it again.

 libguestfs.spec |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index 49663c5..507e584 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -719,10 +719,6 @@ enabled=1
 gpgcheck=0
 EOF
 %define extra --with-febootstrap-yum-config=$(pwd)/yum.conf
-echo "==== /etc/yum.conf ===="
-cat /etc/yum.conf
-echo "==== our yum.conf ===="
-cat yum.conf
 %endif
 
 ./configure \
@@ -732,31 +728,12 @@ cat yum.conf
   --with-extra="fedora=%{fedora},release=%{release}" \
   --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
   --enable-install-daemon \
-  %{extra} || {
-    echo "==== config.log ===="
-    cat config.log
-    exit 1
-}
-
-echo "==== config.log ===="
-cat config.log
+  %{extra}
 
 # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
 # not the site dir.
 make V=1 INSTALLDIRS=vendor %{?_smp_mflags}
 
-# Useful for debugging appliance problems.
-for f in appliance/supermin.d/*.img; do
-    b=`basename $f`
-    echo "==== $b ===="
-    ls -l $f
-    cpio -itv < $f
-done
-echo "==== hostfiles ===="
-ls -l appliance/supermin.d/hostfiles
-cat appliance/supermin.d/hostfiles
-echo "======================================================================"
-
 
 %check
 # Enable debugging - very useful if a test does fail, although


More information about the scm-commits mailing list