Release

Version added 26-Jun-2018| Modified 20-May-2019

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

 

Perform the following steps:

 

  1. Add the QML 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 QML app name to RDEPENDS _ $ {PN} =

    ...
    RDEPENDS_${PN} = " \
        activitymanager \
        audiod \
        ...
        com.example.app.qml \
        ${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 QML app is available on the Home Launcher.

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