]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Install /dev/random and /dev/urandom in source chroot
authorKacper Kornet <draenog@pld-linux.org>
Tue, 12 Apr 2011 17:33:23 +0000 (18:33 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Tue, 10 Jul 2012 03:59:09 +0000 (04:59 +0100)
ssh needs /dev/random and /dev/urandom as sources of entropy

admin/install-chroot.sh

index 37fe347de07aa74aca3906f5c3b3544b04a785bb..45517659efa64970b496e9acb50612b7129a4191 100755 (executable)
@@ -95,6 +95,8 @@ chb() {
 }
 
 install_SPECS_builder () {
+  chr "mknod /dev/random -m 644 c 1 8"
+  chr "mknod /dev/urandom -m 644 c 1 9"
   cat >install-specs <<EOF
 set -x
 rm -rf rpm
This page took 0.120253 seconds and 4 git commands to generate.