]> code.ossystems Code Review - openembedded-core.git/commit
init-live.sh: list block devices correctly
authorChen Qi <Qi.Chen@windriver.com>
Thu, 15 May 2014 07:05:18 +0000 (15:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 May 2014 13:52:39 +0000 (14:52 +0100)
commitfc5dfad6490d0b3f2529f84ae9dfbd6b00b5c380
treebf7f531d696eb65f5c4dfe560daa7589184150d9
parent62ae16c40252f39ba28e072218d67f47b26b3535
init-live.sh: list block devices correctly

Instead of using 'ls /dev/sd*' command to list block devices, we
should rather use 'cat /proc/partitions'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-live.sh