summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-10-21 22:26:57 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-06 19:09:49 +0000
commitc41824c9aac00698bceee634a9ae4225fb3a1167 (patch)
tree17f3344f75e671004ac81d5e997aaabd4eba0978
parent2221fa2a831d9fe8dc72ec60b312e3abac8ebb08 (diff)
downloaddrakiso-c41824c9aac00698bceee634a9ae4225fb3a1167.tar
drakiso-c41824c9aac00698bceee634a9ae4225fb3a1167.tar.gz
drakiso-c41824c9aac00698bceee634a9ae4225fb3a1167.tar.bz2
drakiso-c41824c9aac00698bceee634a9ae4225fb3a1167.tar.xz
drakiso-c41824c9aac00698bceee634a9ae4225fb3a1167.zip
draklive: mount /dev in chroot so /dev/null is available
-rwxr-xr-xdraklive1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive b/draklive
index a2e49f4..1765cb1 100755
--- a/draklive
+++ b/draklive
@@ -383,6 +383,7 @@ sub write_dist_lists {
sub mount_system_fs {
my ($live) = @_;
+ run_('mount', '-t', 'devtmpfs', '/dev', $live->get_system_root . '/dev');
run_('mount', '-t', 'proc', '/proc', $live->get_system_root . '/proc');
run_('mount', '-t', 'sysfs', '/sys', $live->get_system_root . '/sys');
run_('mount', '-t', 'debugfs', '/sys/kernel/debug/usb', $live->get_system_root . '/sys/kernel/debug/usb');