]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
- ugly workaround for vserver-related problem:
authorpawelz <pawelz@pld-linux.org>
Fri, 26 Feb 2010 15:28:15 +0000 (15:28 +0000)
committerpawelz <pawelz@pld-linux.org>
Fri, 26 Feb 2010 15:28:15 +0000 (15:28 +0000)
  try to create dev,proc,sys dirs in chroot before binding them

svn-id: @11184

cleanbuild

index 2548affbec65deec57af1f2b149ae516e1ccdc77..2e8244c7d94b11e771500c312c297f93a695e2a1 100755 (executable)
@@ -265,6 +265,7 @@ build_prepare_root()
        poldek -O "ignore=$IGNORE" -u rpm-build pwdutils coreutils
 
        for DIR in dev proc sys; do
+               mkdir -p $CHDIR/$DIR
                mount -o bind /$DIR $CHDIR/$DIR
        done
 
This page took 0.146335 seconds and 4 git commands to generate.