huseyinkozan / toradex-docker-yocto-builder

0 stars 1 forks source link

Toradex Docker Yocto Builder

To build Yocto images to Toradex, will need a supported OS.

This repo is a proof of concept of using any GNU/Linux that supports Docker can build Toradex images.

Requirements

First Time Setup

Do below steps to setup;

Additional Contents

Repo contains additionally;

Usage

To start and enter the container;

cd <where-this-project-located>

./start.sh

Then, you can use bitbake. For example;

Packages will be in $MY_YOCTO_DEPLOY/ipk/ dir, and images will be in $MY_YOCTO_DEPLOY/images/.

For more information; Toradex Wiki: openembedded-core, Yocto Manual.

Extract IPK

You can extract ipk with extract-ipk.sh. For ex;

cd <where-this-project-located>

./tools/extract-ipk.sh  app

Command will extract /usr/bin/* files into tools/extract-ipk-app/ dir.

root user

Default user is yoctouser. Probably, you will not need the root user while using the container.

If you need, run below commands to use the root user.

cd <where-this-project-located>

docker-compose start
docker-compose exec -u root builder bash