From time to time I need some code that is only applicable to a certain version of Yocto. Each Yocto release updates the DISTRO_VERSION variable so we can use that to track poky upgrades in our layer. This is useful because often the Yocto poky distribution is updated independently of other layers. Imagine a bug … Continue reading Poky version-specific variables →
A common task when using Yocto is to create multiple Linux images for a single target’s load. A very simple example is an emergency partition for fallback. The easiest way is to go to your image recipe and add: In plain English, this means the task do_rootfs now depends on my-other-image recipe’s image_complete task. All … Continue reading Generate multiple images at the same time in Yocto →
I recently tried to update my laptop’s Linux installation from the BIOS Compatibility Mode to UEFI. I wanted to do it so I could update the laptop’s firmware with the UEFI capsule system and fwupdmgr(cool system by the way). Little did I know i was in for a ride. The process is quite complicated to … Continue reading Converting boot mode from BIOS to UEFI in Ubuntu with XPS15 (9550) →
Today i was needing the correct journalctl incantation to get the logs exclusively from the last systemd service execution. It seems that Google is not what it used to be, and did not infer from my Google profile that I likely was looking for technical computer information not “Botched Executions” and death penalty. Oh well … Continue reading Journal get last execution’s log →
This post is a small reminder on how to use the gdb-multiarch on my Ubuntu machine to debug coredumps from other arches/machines. I need to write it because the information I found in the internet does not always lead to the whole stack trace being available even when all the symbols and external sysroot is … Continue reading Debugging a coredump with gdb-multiarch →
This is a post to remind myself why rauc extract fails with a strange error message: “Not enough substeps: check_bundle” as also described in this github issue. The error is really not useful and it comes up if the –keyring=path is not an absolute path. Even ~/<path> will trigger that error and message. As the … Continue reading rauc keyring requiring absolute path keyring →
(The original article had typos because Grammarly did not work correctly and disabled my browser’s dictionary. My apologies.) Yocto is great to build customized Linux distributions from source code. It is a very complex tool and needs to build a huge variety of software projects from source code. It often happens that a Linux distribution … Continue reading Development and Production gaps in Yocto →
I try hard to make my integration tests run in docker containers to guarantee they are not mistakenly dependent on my system and that they test the system as if a real deployment was in place. Sometimes a test depends on some startup string existing in the logs. An example is that my server emits … Continue reading How to write to a docker container’s log from another process →
Recently I had a situation where I wanted to turn a private git repository, public. Immediately the problem of secrets in the repository’s history was raised. I know that secrets should not be committed but, due to practical reasons it often happens. This means that before publishing a repository its secrets need to be sanitized … Continue reading Scanning and removing secrets from git repositories →
Something went wrong. Please refresh the page and/or try again.
Follow My Blog
Get new content delivered directly to your inbox.