diff options
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-live.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index fb7af31a13..2639308c28 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh | |||
@@ -21,15 +21,15 @@ ISOLINUX="" | |||
21 | UNIONFS="no" | 21 | UNIONFS="no" |
22 | 22 | ||
23 | early_setup() { | 23 | early_setup() { |
24 | mkdir /proc | 24 | mkdir -p /proc |
25 | mkdir /sys | 25 | mkdir -p /sys |
26 | mount -t proc proc /proc | 26 | mount -t proc proc /proc |
27 | mount -t sysfs sysfs /sys | 27 | mount -t sysfs sysfs /sys |
28 | 28 | ||
29 | # support modular kernel | 29 | # support modular kernel |
30 | modprobe isofs 2> /dev/null | 30 | modprobe isofs 2> /dev/null |
31 | 31 | ||
32 | mkdir /run | 32 | mkdir -p /run |
33 | udevd --daemon | 33 | udevd --daemon |
34 | udevadm trigger --action=add | 34 | udevadm trigger --action=add |
35 | } | 35 | } |