diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-01-08 02:33:01 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2012-01-08 02:33:01 +0000 |
commit | 86081909121f85018557f715fcd0a66d8636fd97 (patch) | |
tree | 712dbb0ad4459c346f4e0ad8281a70fda9dad35e | |
parent | 0000bb813994b1d9ce4c7c8dea1d483c2c31fff7 (diff) | |
download | draklive-86081909121f85018557f715fcd0a66d8636fd97.tar draklive-86081909121f85018557f715fcd0a66d8636fd97.tar.gz draklive-86081909121f85018557f715fcd0a66d8636fd97.tar.bz2 draklive-86081909121f85018557f715fcd0a66d8636fd97.tar.xz draklive-86081909121f85018557f715fcd0a66d8636fd97.zip |
make sure /etc, /proc, /sys exists before trying to use them
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | draklive | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- make sure /etc, /proc, /sys exists before trying to use them + 1.4: - use gfxboot.c32 as graphical boot loader @@ -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 |