Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

                 Three service files added used for launching corresponding processes inside container (sysmgr.service, irmgr.service and dsmgr.service) .        

...

                 rmfstreamer.service file has been used.

        Already these two containers are present in the existing system. we have implemented one more container (rdkbrowser2) which is the replacement of wpelauncher container.

      

  •   In  rdkbrowser2 container:

                 rdkbrowser2.service file has been addedused.

Implemented containers

...

 Platformcontrol

...

  •  runs rmfstreamer.
  •  rmfstreamer will be launched in new container using lxc-execute.

Rdkbrowser2

  •  runs rdkbrowser2 browser application inside container.
  •  westeros will be launched in new container using lxc-execute.
  •  rdkbrowser2 will be attached to the same container using lxc-attach.

       Note: As we are in the plan of bringing APPmanager as default application we are not running rdkbrowser2 service file on boot-up.

Building procedure

...

  •     repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-asp-extsrc.xml
  •     repo sync --no-tags
  •     source meta-cmf-bsp-emulatorraspberrypi/setup-environment
  •     meta-rdk-containers    select meta-cmf-raspberrypi/conf/machine/qemux86hybsecureraspberrypirdkhyblxc.conf
  •     bitbake rdkbitbake rdk-generic-hybrid-wpe-lxc-image

Container verification

...

  •     pstree can be used to track the list of containers running as below.

              Image Removed              Image Added

  •      ps -Af | grep lxc also lists the current running containers.
         Image AddedImage Removed

DEBUG Logs

...

  • strace can give more debug information about containers:

...