Hello community, here is the log from the commit of package post-build-checks for openSUSE:Factory checked in at 2014-01-09 17:36:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old) and /work/SRC/openSUSE:Factory/.post-build-checks.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "post-build-checks" Changes: -------- --- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes 2014-01-08 20:08:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 2014-01-09 17:36:21.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 9 11:06:05 UTC 2014 - [email protected] + +- the switching to services undid the mounting fix - without me + noticing. Now really pushed to the right git and redid tar + +------------------------------------------------------------------- Old: ---- post-build-checks-13.2+git20131209.3ee7eba.tar.xz New: ---- post-build-checks-13.2+git20140109.507e5c2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ post-build-checks.spec ++++++ --- /var/tmp/diff_new_pack.RzBgvF/_old 2014-01-09 17:36:22.000000000 +0100 +++ /var/tmp/diff_new_pack.RzBgvF/_new 2014-01-09 17:36:22.000000000 +0100 @@ -20,7 +20,7 @@ Summary: post checks for build after rpms have been created License: GPL-2.0+ Group: Development/Tools/Building -Version: 13.2+git20131209.3ee7eba +Version: 13.2+git20140109.507e5c2 Release: 0 PreReq: aaa_base permissions sed Requires: aaa_base-malloccheck ++++++ post-build-checks-13.2+git20131209.3ee7eba.tar.xz -> post-build-checks-13.2+git20140109.507e5c2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/post-build-checks-13.2+git20131209.3ee7eba/checks/06-check-installtest new/post-build-checks-13.2+git20140109.507e5c2/checks/06-check-installtest --- old/post-build-checks-13.2+git20131209.3ee7eba/checks/06-check-installtest 2014-01-07 21:07:52.000000000 +0100 +++ new/post-build-checks-13.2+git20140109.507e5c2/checks/06-check-installtest 2014-01-09 12:05:49.000000000 +0100 @@ -4,21 +4,11 @@ TOPDIR=/usr/src/packages test -d $BUILD_ROOT/.build.packages && TOPDIR=/.build.packages -function umount_all () { - test -n "$BUILD_ROOT" && { - if test -f /proc/mounts ; then - REAL_BR=$(cd $BUILD_ROOT; pwd -P) - umount -n `sed -ne "s@.* \(${REAL_BR}/[^ ]*\) .*@\1@p" /proc/mounts` 2>/dev/null - else - find $BUILD_ROOT/* -depth -xdev -type d -print0 | xargs -0 umount 2>/dev/null - fi - } -} - SCRIPT_ARG=-e -# rpm needs /proc mounted -mount -n -tproc none $BUILD_ROOT/proc +# rpm needs /proc mounted - the build script handles that. just verify it did +test -d $BUILD_ROOT/proc/sys || { echo "proc is not mounted"; exit 1; } + export YAST_IS_RUNNING="instsys" for i in `find $BUILD_ROOT$TOPDIR/RPMS -name "*.rpm" | sort` ; do test -f $i || continue @@ -31,13 +21,11 @@ preun=`chroot $BUILD_ROOT rpm -qp --qf '%{PREUN}' ${i#$BUILD_ROOT}` postun=`chroot $BUILD_ROOT rpm -qp --qf '%{POSTUN}' ${i#$BUILD_ROOT}` test "$pre" = "(none)" -a "$post" = "(none)" -a "$preun" = "(none)" -a "$postun" = "(none)" && continue - test -d $BUILD_ROOT/proc/sys || mount -n -tproc none $BUILD_ROOT/proc chroot $BUILD_ROOT rpm -Vp ${i#$BUILD_ROOT} > $BUILD_ROOT/.build_patchrpmcheck1 if test "$pre" != "(none)" -a "$pre_p" != "<lua>" ; then echo "$pre" > $BUILD_ROOT/.build_patchrpmcheck_scr chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 2 || { echo "preinstall script of ${i##*/} failed" - umount_all touch $BUILD_ROOT/not-ready exit 1 } @@ -46,7 +34,6 @@ echo "$post" > $BUILD_ROOT/.build_patchrpmcheck_scr chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 2 || { echo "postinstall script of ${i##*/} failed" - umount_all touch $BUILD_ROOT/not-ready exit 1 } @@ -55,7 +42,6 @@ echo "$preun" > $BUILD_ROOT/.build_patchrpmcheck_scr chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 1 || { echo "preuninstall script of ${i##*/} failed" - umount_all touch $BUILD_ROOT/not-ready exit 1 } @@ -64,13 +50,11 @@ echo "$postun" > $BUILD_ROOT/.build_patchrpmcheck_scr chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 1 || { echo "postuninstall script of ${i##*/} failed" - umount_all touch $BUILD_ROOT/not-ready exit 1 } fi chroot $BUILD_ROOT rpm -Vp ${i#$BUILD_ROOT} > $BUILD_ROOT/.build_patchrpmcheck2 - umount_all if ! cmp -s $BUILD_ROOT/.build_patchrpmcheck1 $BUILD_ROOT/.build_patchrpmcheck2; then echo "pre/postinstall/uninstall script of ${i##*/} modifies filelist!" echo "filelist diff:" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/post-build-checks-13.2+git20131209.3ee7eba/checks/08-check-permissions new/post-build-checks-13.2+git20140109.507e5c2/checks/08-check-permissions --- old/post-build-checks-13.2+git20131209.3ee7eba/checks/08-check-permissions 2014-01-07 21:07:52.000000000 +0100 +++ new/post-build-checks-13.2+git20140109.507e5c2/checks/08-check-permissions 2014-01-09 12:05:49.000000000 +0100 @@ -11,7 +11,6 @@ test -f $i || continue NAME=`rpm -qp --qf "%{NAME}" $i` test -f $BUILD_ROOT/etc/sysconfig/security || continue - test -d $BUILD_ROOT/proc/sys || mount -n -tproc none $BUILD_ROOT/proc chroot $BUILD_ROOT rpm -Vp ${i#$BUILD_ROOT} > $BUILD_ROOT/.build_patchrpmcheck1 sed -e "s@^PERMISSION_SECURITY\(.*\)secure@PERMISSION_SECURITY\1easy@" \ $BUILD_ROOT/etc/sysconfig/security > $BUILD_ROOT/etc/sysconfig/security.tmp @@ -22,7 +21,6 @@ mv $BUILD_ROOT/etc/sysconfig/security.bak $BUILD_ROOT/etc/sysconfig/security chroot $BUILD_ROOT /usr/bin/chkstat --system >/dev/null 2>&1 - umount -n $BUILD_ROOT/proc if ! cmp -s $BUILD_ROOT/.build_patchrpmcheck1 $BUILD_ROOT/.build_patchrpmcheck2; then echo "--------------------------------------------------------------------" echo "package: $NAME" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/post-build-checks-13.2+git20131209.3ee7eba/checks/12-check-libtool-deps new/post-build-checks-13.2+git20140109.507e5c2/checks/12-check-libtool-deps --- old/post-build-checks-13.2+git20131209.3ee7eba/checks/12-check-libtool-deps 2014-01-07 21:07:52.000000000 +0100 +++ new/post-build-checks-13.2+git20140109.507e5c2/checks/12-check-libtool-deps 2014-01-09 12:05:49.000000000 +0100 @@ -192,8 +192,6 @@ fi echo " (can be skipped by \"skip-check-libtool-deps\" anywhere in spec)" -mount -n -tproc none "$BUILD_ROOT"/proc - shopt -s nullglob IFS=$IFS":," @@ -202,8 +200,6 @@ done rpm_find_all_deps_reset -umount "$BUILD_ROOT/proc" - if test $RC -gt 0 ; then echo "All errors are just warnings for now. Note that it is possible, that these dependencies are missing in one of dependent packages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/post-build-checks-13.2+git20131209.3ee7eba/checks/99-check-remove-rpms new/post-build-checks-13.2+git20140109.507e5c2/checks/99-check-remove-rpms --- old/post-build-checks-13.2+git20131209.3ee7eba/checks/99-check-remove-rpms 2014-01-07 21:07:52.000000000 +0100 +++ new/post-build-checks-13.2+git20140109.507e5c2/checks/99-check-remove-rpms 2014-01-09 12:05:49.000000000 +0100 @@ -38,7 +38,7 @@ } #make sure it is mounted -test -d $BUILD_ROOT/proc/sys || mount -n -tproc none $BUILD_ROOT/proc +test -d $BUILD_ROOT/proc/sys || { echo "proc is not mounted"; exit 1; } # test package removal echo "... removing all built rpms" @@ -70,7 +70,3 @@ } fi -# umount proc -if [ -e $BUILD_ROOT/proc/uptime ] - then umount $BUILD_ROOT/proc -fi -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
