diff options
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-live.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index f0d4f227a2..4f8618ba4b 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh | |||
@@ -82,6 +82,8 @@ boot_live_root() { | |||
82 | mount -n --move /proc ${ROOT_MOUNT}/proc | 82 | mount -n --move /proc ${ROOT_MOUNT}/proc |
83 | mount -n --move /sys ${ROOT_MOUNT}/sys | 83 | mount -n --move /sys ${ROOT_MOUNT}/sys |
84 | mount -n --move /dev ${ROOT_MOUNT}/dev | 84 | mount -n --move /dev ${ROOT_MOUNT}/dev |
85 | # Move /media/$i over to the real root filesystem | ||
86 | mount -n --move /media/$i ${ROOT_MOUNT}/media/realroot | ||
85 | 87 | ||
86 | cd $ROOT_MOUNT | 88 | cd $ROOT_MOUNT |
87 | exec switch_root -c /dev/console $ROOT_MOUNT /sbin/init | 89 | exec switch_root -c /dev/console $ROOT_MOUNT /sbin/init |