How to Build WebOs image!

Kindly help me in building the WebOS Raspberry Pi 3 image , I proceeded with following steps on Ubuntu 14.04

$ git clone https://github.com/webosose/build-webos.git

The above command made a directory named build-webos in my home directory.
I changed the directory to build-webos and run the following command

$sudo scripts/prerequisites.sh
$ ./mcf raspberrypi3
$ ./mcf -p 0 -b 0 raspberrypi3
$source oe-init-build-env 
$ bitbake webos-image

Although it took a lot of time to accomplish build, and during the process there were some Warning also I finally issued make command

$make webos-image

Now when every thing finished, where can I find the build image files. I need to make an image file for flashing it on my PI board but where is the output situated.

Kindly help !

@shahbaz
You can find build image in build-webos/BUILD/deploy/images/raspberrypi3/webos-image-raspberrypi3.rootfs.rpi-sdimg

1 Like

@Changhyeok
Thanks for the reply, I dont have any .rpi-sdimg file under the directory structure

build-webos/BUILD/deploy/images/raspberrypi3/

Do I need to run any command for building the .rpi-sdimg file. ?

No any specual comment. Just ‘make webos-image’ or ‘bitbake webos-image’.

Thanks, @Changhyeok finally I build the image.
Let me share the problem I was getting, This might help someone
The problem was that one of the recipes was failing

WARNING : linux-raspberrypi-1_4.4.50+gitAUTOINC+04c8e47067-r0 do_fetch: Failed to    fetch URL git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.4.y,attempting MIRRORS if available

what I did was I ran the .bb file for the above recipe.

$bitbake -b meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bb

after the above command finished execution i again build the image using.

$bitbake webos-image

Finally, the image got build, and after flashing it was running seamlessly.

Thanks, closing the Thread.

You can ignore the WARNING. That is just notice to replace another mirror site. So it works.

Actually Fetching from Mirror Sites were also Failing, Thats why I did this way!

@shahbaz Ah. ok. thanks for sharing the information.