Accepting request 32565 from Base:System

Copy from Base:System/post-build-checks based on submit request 32565 from user oertel

OBS-URL: https://build.opensuse.org/request/show/32565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/post-build-checks?expand=0&rev=28
This commit is contained in:
OBS User autobuild 2010-02-18 15:48:11 +00:00 committed by Git OBS Bridge
commit 993988f56b
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Nur post-build-checks-1.0/checks/99-check-remove-rpms post-build-checks-1.0-new//checks/99-check-remove-rpms
--- post-build-checks-1.0/checks/99-check-remove-rpms 2008-09-03 15:10:17.000000000 +0200
+++ post-build-checks-1.0-new//checks/99-check-remove-rpms 2010-02-06 18:28:48.718027110 +0100
@@ -67,4 +67,7 @@
}
fi
-
+# umount proc
+if [ -e $BUILD_ROOT/proc/uptime ]
+ then umount $BUILD_ROOT/proc
+fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 6 17:31:27 CET 2010 - detlef@links2linux.de
- add umount patch: Umount $BUILD_ROOT/proc after finished job
-------------------------------------------------------------------
Mon Dec 7 14:58:27 CET 2009 - mmarek@suse.cz

View File

@ -24,10 +24,11 @@ Group: Development/Tools/Building
AutoReqProv: on
Summary: post checks for build after rpms have been created
Version: 1.0
Release: 68
Release: 69
PreReq: aaa_base permissions sed
Source0: %{name}-%{version}.tar.bz2
Source1: suse-buildsystem.sh
Patch0: %{name}-umount.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -44,6 +45,7 @@ it may not be a good idea to install this to a running system:
%prep
%setup -q
%patch0 -p1
%build
# nothing to do