From bac650885adea3f7ee62a287020d701bd3370f27165d45a1c1916a647f549850 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 11 Feb 2010 09:34:39 +0000 Subject: [PATCH] Accepting request 31688 from home:drcux Copy from home:drcux/post-build-checks via accept of submit request 31688 revision 3. Request was accepted with message: ok, let's see if that works OBS-URL: https://build.opensuse.org/request/show/31688 OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=14 --- post-build-checks-umount.patch | 12 ++++++++++++ post-build-checks.changes | 5 +++++ post-build-checks.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 post-build-checks-umount.patch diff --git a/post-build-checks-umount.patch b/post-build-checks-umount.patch new file mode 100644 index 0000000..8264ebf --- /dev/null +++ b/post-build-checks-umount.patch @@ -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 diff --git a/post-build-checks.changes b/post-build-checks.changes index 1e48d5e..0085739 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -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 diff --git a/post-build-checks.spec b/post-build-checks.spec index 0d36322..bee8082 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -28,6 +28,7 @@ Release: 68 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