diff options
author | pawelz | 2010-02-26 17:09:55 (GMT) |
---|---|---|
committer | pawelz | 2010-02-26 17:09:55 (GMT) |
commit | 49e7169654568c673f8dc3c1a804b1000eb8f626 (patch) | |
tree | bb2a496b29e46507c9ae17a6e9350addca74fcb4 | |
parent | f7fc2117f5a41e3d3f3893756568d7153c85f96e (diff) | |
download | cleanbuild-49e7169654568c673f8dc3c1a804b1000eb8f626.zip cleanbuild-49e7169654568c673f8dc3c1a804b1000eb8f626.tar.gz |
- make sure, that /dev, /sys and proc are marked as %_netsharedpath.
- added comment why we need to create these dirs manually.
svn-id: @11187
-rwxr-xr-x | cleanbuild | 4 | ||||
-rw-r--r-- | poldekconf/poldek.conf | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -265,7 +265,9 @@ build_prepare_root() 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 diff --git a/poldekconf/poldek.conf b/poldekconf/poldek.conf index c35bc56..d8f3713 100644 --- a/poldekconf/poldek.conf +++ b/poldekconf/poldek.conf @@ -118,3 +118,6 @@ suggests = no # Taking into account package Conflicts. #conflicts = yes + +# We don't want to mess in directories binded from host system +rpmdef = _netsharedpath /dev:/proc:/sys |