SVN: toys/tools/cleanbuild: cleanbuild poldekconf/poldek.conf

pawelz pawelz at pld-linux.org
Fri Feb 26 18:09:55 CET 2010


Author: pawelz
Date: Fri Feb 26 18:09:55 2010
New Revision: 11187

Modified:
   toys/tools/cleanbuild/cleanbuild
   toys/tools/cleanbuild/poldekconf/poldek.conf
Log:
- make sure, that /dev, /sys and proc are marked as %_netsharedpath.
- added comment why we need to create these dirs manually.


Modified: toys/tools/cleanbuild/cleanbuild
==============================================================================
--- toys/tools/cleanbuild/cleanbuild	(original)
+++ toys/tools/cleanbuild/cleanbuild	Fri Feb 26 18:09:55 2010
@@ -265,7 +265,9 @@
 	poldek -O "ignore=$IGNORE" -u rpm-build pwdutils coreutils
 
 	for DIR in dev proc sys; do
-		mkdir -p $CHDIR/$DIR
+		# We need to create these directories manually, because they are marked
+		# as netsharedpath in cleanbuild poldek.conf
+		mkdir $CHDIR/$DIR
 		mount -o bind /$DIR $CHDIR/$DIR
 	done
 

Modified: toys/tools/cleanbuild/poldekconf/poldek.conf
==============================================================================
--- toys/tools/cleanbuild/poldekconf/poldek.conf	(original)
+++ toys/tools/cleanbuild/poldekconf/poldek.conf	Fri Feb 26 18:09:55 2010
@@ -118,3 +118,6 @@
 
 # Taking into account package Conflicts.
 #conflicts = yes
+
+# We don't want to mess in directories binded from host system
+rpmdef = _netsharedpath          /dev:/proc:/sys


More information about the pld-cvs-commit mailing list