summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/devices.pm1
-rw-r--r--perl-install/lvm.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index c2322d9b5..2d01d7ad3 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -143,6 +143,7 @@ sub entry {
"psaux" => [ c::S_IFCHR(), 10, 1 ],
"atibm" => [ c::S_IFCHR(), 10, 3 ],
"random" => [ c::S_IFCHR(), 1, 8 ],
+ "urandom" => [ c::S_IFCHR(), 1, 9 ],
"sbpcd" => [ c::S_IFBLK(), 25, 0 ],
"sjcd" => [ c::S_IFBLK(), 18, 0 ],
"tty" => [ c::S_IFCHR(), 5, 0 ],
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 68e8f6e2f..f4a94179c 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -32,6 +32,7 @@ init();
sub init() {
eval { modules::load('dm-mod') };
+ devices::make('urandom');
run_program::run('lvm2', 'vgscan') if !-e '/etc/lvmtab';
run_program::run('lvm2', 'vgchange', '-a', 'y');
}