SVN: toys/tools/cleanbuild/cleanbuild

glen glen at pld-linux.org
Thu Oct 25 22:53:06 CEST 2012


Author: glen
Date: Thu Oct 25 22:53:06 2012
New Revision: 12599

Modified:
   toys/tools/cleanbuild/cleanbuild
Log:
rpm5 is more picky, be sure to have group of src.rpm files present in chroot as well

Modified: toys/tools/cleanbuild/cleanbuild
==============================================================================
--- toys/tools/cleanbuild/cleanbuild	(original)
+++ toys/tools/cleanbuild/cleanbuild	Thu Oct 25 22:53:06 2012
@@ -305,7 +305,8 @@
 		mount -o bind /$DIR $CHDIR/$DIR
 	done
 
-	chroot $CHDIR useradd -m $USER -u$(id $USER -u)
+	chroot $CHDIR groupadd $(id $USER -gn) -g$(id $USER -g)
+	chroot $CHDIR useradd -m $USER -u$(id $USER -u) -g $(id $USER -gn)
 
 	# replicate files which already belong to $USER
 	# so they will have correct owner and permissions


More information about the pld-cvs-commit mailing list