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