]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Create /dev/null inside src chroot
authorKacper Kornet <draenog@pld-linux.org>
Mon, 11 Apr 2011 12:50:57 +0000 (13:50 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Tue, 10 Jul 2012 03:59:09 +0000 (04:59 +0100)
It needs to be created befor poldek is run. Otherwise it is created as
original file by installation scripts.

admin/install-chroot.sh

index 633b9d38bedb5fb02b3b6ec0624969f2860cbe01..4687db7c769e69b581c0245dcc03b0513dbf7b37 100755 (executable)
@@ -143,6 +143,8 @@ set -x
 cd $PWD
 rm -rf $chroot_dir
 mkdir -p $chroot_dir/spools/poldek
+mkdir $chroot_dir/dev
+mknod $chroot_dir/dev/null -m 666 c 1 3
 rpm --root $chroot_dir --initdb
 poldek --root $chroot_dir -i\
        $builder_pkgs $builder_arch_pkgs
This page took 0.12369 seconds and 4 git commands to generate.