Pulling image for different platforms Dockerizing binary Pruning Docker resources Docker by default does not remove stopped container without –rm flag. The same is true for unused images. This starts becoming a problem after some time as disk space is... Read more
In this document I’ll try to document learning process of Bitbake build system. Initial steps Checkout the yocto build Run the build for x86-64 build This will download and run all relevant commands to build final runnable image. High-Level process... Read more
Single File C Recipe meta-newlayer/recipes-example/example/example_0.1.bb: meta-newlayer/recipes-example/example/files/example.c: Setting-up New Recipe using devtool DevTool is a tool shipped by Yocto used to help with many operations. One of such operations is creating a Recipe from git repository. To register a repository we... Read more
Crosstool-ng is a project that simplifies building of c/c++ toolchains for many hosts/targets. For this particular project vendor only provided cygwin build, but I had to run the compiler on linux. As toolchain was build using crosstool-ng-1.13.1, I simply check-outed... Read more
Installation Issuing certificate (DNS challenge) Read more
Setup data bytes Read more
Device Class Initialization (WORK IN PROGRESS) Setting endpoint FIFO buffers If we wish to use certain endpoints for transfer, we first must assign FIFO buffer sizes. Otherwise, the transfer wont work. Example code: Device class specification struct Device class initialization... Read more
Copy file from https://raw.githubusercontent.com/joohoi/acme-dns-certbot-joohoi/master/acme-dns-auth.py to /etc/letsencrypt/acme-dns-auth.py and change user to root and chmod to 0755. Also adjust script to appropriate python version. Then simply add record to DNS system, and continue execution of script. Single domain issuing using DNS TXT... Read more
To simplify management of Datadog synthetic tests, I decided to use Terraform. After playing with it a bit, I came with following module structure which covers few cases that I needed to handle. HTTP Status Monitoring To cover HTTP status... Read more