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 repos.rcb-ee.com to sources.list by:

wget http://repos.rcn-ee.net/ubuntu/conf/repos.rcn-ee.net.gpg.key
apt-key add repos.rcn-ee.net.gpg.key
echo "deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] http://repos.rcn-ee.com/ubuntu/ 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.
Thanks

Answering part of my own question:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D284E608A4C46402
echo "deb [arch=armhf] http://repos.rcn-ee.com/ubuntu/ focal main" | tee -a /etc/apt/sources.list

Works to add repose.rcn-ee.com repo

deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] http://repos.rcn-ee.com/ubuntu/ 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…

https://repos.rcn-ee.net/ubuntu/pool/main/b/bbb.io-keyring/

Regards,

@RobertCNelson,

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?)

Thanks

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

Regards,

2 Likes