Release

Version added 07-Mar-2018| Modified 10-Oct-2018

You are now ready to build the webOS image and flash it to the target device.

 

Perform the following steps:

  1. Add the web app to the build recipe file.

    • File name : packagegroup-webos-extended.bb

    • Directory : build-webos/meta-webosose/meta-webos/recipes-core/packagegroups

    • Updates to be made : Add the web app name to RDEPENDS _ $ {PN} =

    ...
    RDEPENDS_${PN} = " \
        activitymanager \
        audiod \
        ...
        com.example.app.web \
        ${VIRTUAL-RUNTIME_appinstalld} \
        ...

    For more details, please see Yocto project reference manual.

  2. Build the webOS image using the following commands.

    build-webos$ source oe-init-build-env
    build-webos$ bitbake webos-image
  3. Flash the generated webOS image to the SD card.

    Path to image: build-webos/BUILD/deploy/images/raspberrypi3/webos-image-raspberrypi3-master-yyyymmddhhmmss.rpi-sdimg

    build-webos/BUILD/deploy/images/raspberrypi3$ sudo dd bs=4M if=webos-image-raspberrypi3-master-yyyymmddhhmmss.rpi-sdimg of=/dev/sdc
    

 

After rebooting, the web app is available on the Launcher.

Except as noted, this content is licensed under Creative Commons Attribution 4.0 and sample code is licensed under Apache License 2.0.