Release

Version added 2018-03-07 20:32:00| Modified 12-Apr-2018

You are now ready to release the web app.

 

Add Web App to Build Recipe

Add the web app to the package recipe file.

  • Update the file : 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.

 

Build the webOS Image

Build the image with following commands.

build-webos$ source oe-init-build-env
build-webos$ bitbake webos-image

 

Flash the Image to the Target

Flash the generated webos image to SD card.

  • Path of webOS 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.