Skip to content

GettingStarted

Marek Belisko edited this page Nov 8, 2024 · 9 revisions

Getting Started

Clone repository

git clone https://github.com/pantavisor/meta-pantavisor
cd meta-pantavisor

Select Build Config

kas menu
image
  1. Select 'singleconfig'
  2. Select 'kirkstone or scarthgap'
  3. Select 'pantavisor-remix'
  4. Select a Machine filter for your board (e.g. sunxi for allwinner boards)
  5. Select machine (e.g. sunxi orange pi r1)
  6. Save & Exit

This will save your selection in a file called .config.yaml.

Add Containers to the pantavisor-remix

To add or change the containers that get added to the pantavisor-remix you would go to the 'containers->' subsection in the kas menu

image

Here you can choose which containers you want to add.

The first choice you have to make is if you want to make a 'root container' out of a yocto image target. The default is to use the 'core-image-minimal' target of poky to produce a container for you that gets automatically added to the remix.

For existing yocto developers its usually a good idea to start with making a container out of your previous userspace. In this way you can start transitioning to a world of containers on embedded in an iterative manner.

Its also possible to build a pantavisor-remix without baking the yocto userspace into a container. Simply unselect the Make root container option and select from the list of the other containers instead.

Build

To build you would again use kas

kas build

The output can be found in the deploy directory for your machine in the build/ hierarchy.

Update to latest

To update the locally checked out meta layers you can use kas

kas checkout --update

Once finished your image will be in build/ directory.

Next follow the Install Image Instructions instructions.