Re: [OE-core] [PATCH] wic: Add SD/MMC-Cards support to '--ondisk' param

2014-03-21 Thread Tom Zanussi
On Tue, 2014-03-18 at 13:05 -0300, João Henrique Ferreira de Freitas wrote: > The special case when wic is set up to use SD/MMC-Cards in place > of sdX disks is not handled properly. > > Append 'p' to the rootdev when disk is SD/MMC-Cards fix this situation. This is missing your Signed-off-by. O

Re: [OE-core] [PATCH] wic: Add SD/MMC-Cards support

2014-03-19 Thread João Henrique Freitas
Hi Otavio On Tue, Mar 18, 2014 at 1:35 PM, Otavio Salvador wrote: > > I am not sure if is not necessary to fix others places. Until now it's > the single point. > > I think this is a sub-optimal solution; we ought to add support for > UUID as this is ensure to be stable across boot iterations;

Re: [OE-core] [PATCH] wic: Add SD/MMC-Cards support

2014-03-18 Thread Otavio Salvador
On Tue, Mar 18, 2014 at 1:05 PM, João Henrique Ferreira de Freitas wrote: > If the following .wks is set up to mmcblk0 (sdcard) > > part /boot --source bootimg-pcbios --ondisk mmcblk0 --fstype=msdos --label > boot --active --align 1024 > part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --lab

[OE-core] [PATCH] wic: Add SD/MMC-Cards support

2014-03-18 Thread João Henrique Ferreira de Freitas
If the following .wks is set up to mmcblk0 (sdcard) part /boot --source bootimg-pcbios --ondisk mmcblk0 --fstype=msdos --label boot --active --align 1024 part / --source rootfs --ondisk mmcblk0 --fstype=ext3 --label platform --align 1024 bootloader --timeout=0 --append="rootwait rootfstype=ex

[OE-core] [PATCH] wic: Add SD/MMC-Cards support to '--ondisk' param

2014-03-18 Thread João Henrique Ferreira de Freitas
The special case when wic is set up to use SD/MMC-Cards in place of sdX disks is not handled properly. Append 'p' to the rootdev when disk is SD/MMC-Cards fix this situation. --- scripts/lib/mic/imager/direct.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/l