From bac650885adea3f7ee62a287020d701bd3370f27165d45a1c1916a647f549850 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 11 Feb 2010 09:34:39 +0000 Subject: [PATCH 1/3] 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 From 74212039c22d2629ce601aa0d9bcfab70a270646190a4c3adaecda9e67139115 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 18 Feb 2010 15:48:10 +0000 Subject: [PATCH 2/3] checked in (request 32565) OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=16 --- post-build-checks-umount.patch | 12 ------------ post-build-checks.changes | 5 ----- post-build-checks.spec | 2 -- 3 files changed, 19 deletions(-) delete mode 100644 post-build-checks-umount.patch diff --git a/post-build-checks-umount.patch b/post-build-checks-umount.patch deleted file mode 100644 index 8264ebf..0000000 --- a/post-build-checks-umount.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 0085739..1e48d5e 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -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 bee8082..0d36322 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -28,7 +28,6 @@ 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 @@ -45,7 +44,6 @@ it may not be a good idea to install this to a running system: %prep %setup -q -%patch0 -p1 %build # nothing to do From 6041c0cc77acaa4c86d777e72b9fc94ff6cfcbad50cd665f230a755267121466 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 18 Feb 2010 15:48:11 +0000 Subject: [PATCH 3/3] Updating link to change in openSUSE:Factory/post-build-checks revision 28.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=ab499c9aa6756f675342af2ff3ad606a --- post-build-checks-umount.patch | 12 ++++++++++++ post-build-checks.changes | 5 +++++ post-build-checks.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) 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..5047a18 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -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