# Configure OpenEmbedded (oe) overlay
kom -o oe /absolute/path/to/openembedded
# Otherwise, if you use kom to download oe
# Download openembedded
kom -r git oe
# Configure it
kom -o oe `kom -r path oe`# Configure an overlay with non standard recipes directory (default is "recipes/*/*.bb").
# E.g. Marmita overlay
kom -o marmita `kom -r path marmita` `kom -r recipes marmita`# Configure an overlay with non standard recipes directory and non standard configuration directory
# (E.g. default for Poky is "meta/")
kom -o poky `kom -r path poky` `kom -r recipes poky` `kom -r conf poky`# Remove from the Kom configuration OpenEmbedded (oe) overlay
kom -O oe# View Overlay configured in Kom
kom -l# View a specific Overlay configured in Kom
kom -l [ovarlay_name]# Create new project in current directory
mkdir foobar
cd foobar
kom -i# Create new project in a specific directory
kom -i [path/of/project]# Add OpenEmbedded overlay to the project
kom -a oe# Remove OpenEmbedded overlay from the project
kom -A oe# Decrease OpenEmbedded overlay priority
kom -d oe# Increase OpenEmbedded overlay priority
kom -D oe# View which overlay is used by the project (and its weight)
kom -L# Test the project's consistency
kom -t# Setup project (update init script) (it's not necessary. komprofile automatically calls)
kom -s# Get list of machines which [distro] support
kom -b [distro] get machines# Set a MACHINE in my project
kom -B machine -v [machine_name]# Get MACHINE configured in my project
kom -B machine# Set a DISTRO in my project
kom -B distro -v [distro_name]# Get DISTRO configured in my project
kom -B machine# List of machine available by all overlay configured.
# E.g. if you configure in project the OpenEmbedded overlay,
# it search all machine in OpenEmbedded overlay and in
# project and returns a ordered and unique list
kom -e get machines# List of distro available by all overlay configured.
kom -e get distroes# List of images available by all overlay configured.
# E.g. if you configure in project the OpenEmbedded
# overlay, it search all images in OpenEmbedded overlay
# and in project and returns a ordered and unique list
kom -e get images# Get path of repository configured in repository.conf (can find some overlays and bitbake)
kom -r path [repository_name]# Get a list of repository configured in repository.conf (can find some overlays and bitbake)
kom -r list repository# Download overlay in directory and name specified
# in repository.conf. File type supported are: tar.gz, tar.bz2 and zip.
kom -r download [overlay_name]
# E.g. download bitbake:
kom -r download bitbake# Make a git clone of overlay with git url and destination directory and name specified in repository.conf.
# If overlay already exist and is a git repository, it shall update.
kom -r git [overlay_name]
# E.g. download OpenEmbedded overlay
kom -r git oe# Get relative path where find recipes in [overlay] (it's configured in repositories.conf)
# E.g. default path for OpenEmbedded overlay is "recipes/*/*.bb".
kom -r recipes [overlay]# Remove an repository installed with Kom
kom -r remove [repository]# Summary of the project's configuration
kom -c# Return, if configured, bitbake path
kom -s -k# Configure kom to find bitbake path. So, kom can configure bitbake path in your projects automatically.
kom -s -v /PATH/TO/bitbake/bin
# If you want to use Kom to download bitbake:
kom -r download bitbake
kom -s -v `kom -r path bitbake`# Use Kom Wizard to configure Kom and your project's
kom -w# Export variable before calling bitbake (it start automatically setup)
. komprofile
bitbake ....
KOM Cheat Sheet
Summary of all command