Cross-compile build environment for Beagle blue

I am trying to build a cross-compile Docker image for BeagleBlue to build a code on my PC instead of on a slow board.

I practically need to rebuild the file system of bone-ubuntu-20.04.4-console-armhf-2022-05-22-4gb.img.xz on my PC

Where can I find the script this image was built with?

I am also trying to add to sources.list by:

apt-key add
echo "deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] focal main" | tee -a /etc/apt/sources.list

But I am continuing to get a key error:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D284E608A4C46402

Help will be highly appreciated.

Answering part of my own question:

apt-key adv --keyserver --recv-keys D284E608A4C46402
echo "deb [arch=armhf] focal main" | tee -a /etc/apt/sources.list

Works to add repo

deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] focal main

This is a relatively “newly enforced” rule by dpkg/apt… for focal you can use the classic apt-key ‘add’…

For jammy and newer apt will be much more vocal about it…



Can you please point out how Ubuntu images (i.e. bone-ubuntu-20.04.4-console-armhf-2022-05-22-4gb.img.xz) for Beaglebone are built? (Maybe their CI script?)


HI @mirots that’s generated via these commands in this repo…