diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-live.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index 7e27f91f9e..9e53a25a51 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh | |||
@@ -49,6 +49,8 @@ read_args() { | |||
49 | case $arg in | 49 | case $arg in |
50 | root=*) | 50 | root=*) |
51 | ROOT_DEVICE=$optarg ;; | 51 | ROOT_DEVICE=$optarg ;; |
52 | rootimage=*) | ||
53 | ROOT_IMAGE=$optarg ;; | ||
52 | rootfstype=*) | 54 | rootfstype=*) |
53 | modprobe $optarg 2> /dev/null ;; | 55 | modprobe $optarg 2> /dev/null ;; |
54 | LABEL=*) | 56 | LABEL=*) |
@@ -133,7 +135,7 @@ do | |||
133 | mount | grep media | 135 | mount | grep media |
134 | echo "Available block devices" | 136 | echo "Available block devices" |
135 | ls /dev/sd* | 137 | ls /dev/sd* |
136 | fatal "Cannot find rootfs.img file in /media/* , dropping to a shell " | 138 | fatal "Cannot find $ROOT_IMAGE file in /media/* , dropping to a shell " |
137 | fi | 139 | fi |
138 | C=$(( C + 1 )) | 140 | C=$(( C + 1 )) |
139 | fi | 141 | fi |