summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-09 13:37:54 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-09 13:37:54 +0000
commitc37845e24599cb079162e226c42df7d81b8303cc (patch)
treee68f3ae8037209478b4ba03bc084611a4fee6283
parent861ba501b23cd6af238d8409a8aefa5e1107d747 (diff)
downloaddrakx-c37845e24599cb079162e226c42df7d81b8303cc.tar
drakx-c37845e24599cb079162e226c42df7d81b8303cc.tar.gz
drakx-c37845e24599cb079162e226c42df7d81b8303cc.tar.bz2
drakx-c37845e24599cb079162e226c42df7d81b8303cc.tar.xz
drakx-c37845e24599cb079162e226c42df7d81b8303cc.zip
add /dev/random and /dev/urandom (for curl)
-rw-r--r--images/NEWS2
-rwxr-xr-ximages/make_boot_img2
2 files changed, 3 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS
index 3af751473..2ab5afe8f 100644
--- a/images/NEWS
+++ b/images/NEWS
@@ -1,3 +1,5 @@
+- add /dev/random and /dev/urandom (for curl)
+
Version 1.35 - 18 February 2009, by Thierry Vignaud
- pass --restore instead of restore option
diff --git a/images/make_boot_img b/images/make_boot_img
index b6e194869..860020d68 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -196,7 +196,7 @@ sub initrd {
_ "splash -s -f $o_bootsplash_cfg > $tmp_initrd/bootsplash";
}
- my $devs = sprintf "ls /dev/{%s}", join(',', qw(console fb0 fd0 loop3 mem null ppp ptyp0 ram3 tty[0-7] ttyp0 ttyS0));
+ my $devs = sprintf "ls /dev/{%s}", join(',', qw(console fb0 fd0 loop3 mem null ppp ptyp0 ram3 random tty[0-7] ttyp0 ttyS0 urandom));
_ "(cd $tmp_initrd; (find . ; $devs) | cpio -o -c --quiet) | gzip -9 > $img";
_ "rm -rf $tmp_initrd";