Openembedded Workflow

From MyLabWiki
Jump to: navigation, search

Initial setup

 $ git clone git://github.com/Angstrom-distribution/setup-scripts.git
 $ setup-scripts.git
 $ cd setup-scripts.git
 $ MACHINE=beaglebone ./oebb.sh config beaglebone
 $ MACHINE=beaglebone ./oebb.sh update
 $ . ~/.oe/environment-angstromv2012.05

Now test the system using:

 $ bitbake systemd-image

Bonecam

Needs update

After the initial setup so the following in the setup-scripts.git directory:

 $ cp ../bonecam.git/angstrom/bonecam-image.bb sources/meta-ti/recipes-misc/images/
 $ cp ../bonecam.git/angstrom/gst-plugins-bad_0.10.23.bb sources/openembedded-core/meta/recipes-multimedia/gstreamer/
 $ bitbake bonecam-image

Systemd

  1. systemd-analyze
  2. systemd-analyze blame

To enable/disable a service:

 $ systemctl disable foo.service

The available service files are located in /lib/systemd/system – see man systemd.unit.

Boot time can depend a lot on SD card (even for the same class)