Posts

Yocto Development with QEMU

Fetch and Configure Let’s start by obtaining all ‘meta’ layers that we want to use recipes from. Choose a directory that you have plenty of space. git clone --recurse-submodules \ git@github.

Yocto Poky oe-init-build-env

Let’s have a clean environment, and then clone Poky. └─> bash -norc bash-4.3$ git clone git://git.yoctoproject.org/poky /tmp/poky Cloning into 'poky'... remote: Counting objects: 400896, done/. remote: Compressing objects: 100% (95425/95425), done.

Yocto Source Mirror

Mirror of Downloads References: Efficiently Fetching Source Files During a Build. TipsAndTricks/TeamWorkflows Using a SOURCE_MIRROR SOURCE_MIRROR_URL ?= "file:///mnt/downloads/" INHERIT += "own-mirrors" # Use this when generating the mirror: #BB_GENERATE_MIRROR_TARBALLS = "1" # Use this to test the mirror: #BB_NO_NETWORK = "1" Prepare the source mirror Add the following line to local.

Docker Container Installs from Yocto

Yocto Application Containers from SCRATCH Yesterday I wrote about Using Yocto Project for Docker FROM scratch , but I quickly realized it is hard to iterate quickly with this workflow. As I added support for python-connexion I generated a fresh container image at least 10 times.

RPI 3 Application Container built with Yocto

Deploying Image built from Dockerfile I provisioned my RPI 3 with resin-os downloaded from resin.io and it automatically loaded my existing application on first boot. I want to make sure the docker images are as similar as possible; so I slightly modified the dockerfile and pushed the changes to resin which will handle deploying to my devices.

Using Yocto Project for Docker FROM scratch

Yocto and Docker Yocto Project is an amazing way to build a Linux System from the ground up. It uses an amazing build system that can build and install practically any application.

Valentine's Day for Jenkins

Using Docker - No plugins required Last time I investigated using Docker inside the “master” container. It was pretty cool, but it was inconvenient when directories needed to be mounted to the containers.

Brothers of Jenkins

Avoid Docker-in-Docker Using Docker-in-Docker for your CI or testing environment? Think twice. by @jpetazzo explains why the DinD approach is bad for CI, and how using an alternative approach will allow the docker container to create sibling containers rather than child containers.

Hiring a Ephemeral Butler

Clean up, before I get messy I have been running a lot of different docker containers, and often forgetting to use --rm. So I pruned my system: docker system --prune as recommended by this answer on StackOverfow.

Resin CLI and Beaglebone

Getting started with the CLI I attempted to install the npm package but my system was incompatible with some of the requirements. Thankfull, rather than having to debug this issue I was able to simply download a release that I was able to simply unzip, add to path and use.