From 86081909121f85018557f715fcd0a66d8636fd97 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sun, 8 Jan 2012 02:33:01 +0000 Subject: make sure /etc, /proc, /sys exists before trying to use them --- NEWS | 2 ++ draklive | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 8541b51..bcfdd07 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- make sure /etc, /proc, /sys exists before trying to use them + 1.4: - use gfxboot.c32 as graphical boot loader diff --git a/draklive b/draklive index 2ee9857..bf9639a 100755 --- a/draklive +++ b/draklive @@ -240,10 +240,13 @@ sub post_install_system { #- workaround buggy installation of directories that are not owned by any packages umask 022; + mkdir_p($live->get_system_root . '/proc'); + mkdir_p($live->get_system_root . '/sys'); run_('mount', '-t', 'proc', '/proc', $live->get_system_root . '/proc'); run_('mount', '-t', 'sysfs', '/sys', $live->get_system_root . '/sys'); #- copy resolv.conf for name resolution to work when adding media + mkdir_p($live->get_system_root . '/etc'); cp_f("/etc/resolv.conf", $live->get_system_root . "/etc/"); #- remove previous draklive leftovers if needed -- cgit v1.2.1