diff options
author | Elan Ruusamäe | 2012-10-25 20:53:06 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2012-10-25 20:53:06 (GMT) |
commit | 750858a5f3a0ce4f183b8c1313321755b51dd4e7 (patch) | |
tree | 7067d408607d3280b66a5c88c3b42c31b9f4eb12 | |
parent | 5b4a76cf99a79852ac1224ccb39be675bbf9d7a9 (diff) | |
download | cleanbuild-750858a5f3a0ce4f183b8c1313321755b51dd4e7.zip cleanbuild-750858a5f3a0ce4f183b8c1313321755b51dd4e7.tar.gz |
rpm5 is more picky, be sure to have group of src.rpm files present in chroot as well
svn-id: @12599
-rwxr-xr-x | cleanbuild | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -305,7 +305,8 @@ build_prepare_root() 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 |