Hi,
> Can these images be built in a buildbox on intel? I guess as you run
> code in the install to accomplish various things, you need to build in
> an ARM system.
For building an ARM image on x86_64 you have several options.
1. kiwi boxbuild
https://osinside.github.io/kiwi/plugins/self_contained.html
kiwi-ng --target-arch aarch64 system boxbuild \
--box tumbleweed --box-memory 4G \
--aarch64 --cpu cortex-a57 --machine virt --no-accel --box \
-- \
--description /path/to/image/description \
--target-dir /path/to/result_dir
2. Run in an aarch64 container plus binfmt
sudo podman run --rm --privileged \
docker.io/multiarch/qemu-user-static --reset -p yes
Now go and find a system container for aarch64 with a distro
in it for which we build kiwi for.
Run the container either with a bash or with systemd as the
entry point. Once you get to a shell:
Install kiwi into the container and build inside
3. Use the buildservice
4. Grab a raspberryPI and fetch the image we built for it.
Install kiwi on it and build there
5. Use AWS EC2. Run an aarch64 instance, install kiwi and build
> What I would like to do is cut down the packages and make it a
> read-only file system that writes changes to a ramfs that is gone when
> the system is restarted. Maybe that is best done on OBS. I usually use
> kiwi locally as that works fine. But then I can use buildbox.
Or you follow me on a new project that goes into that direction :)
See here:
https://build.opensuse.org/project/show/home:marcus.schaefer:delta_containers
It's about real app containers and some ideas regarding ALP.
But the project also contains a test OS (test-os-automotive-rpi)
which actually is an example system for the PI with an idea for an OS
that is actually only capable to serve as a launcher for app
containers. full or partial isolation of applications from the host
OS is a topic for the "software defined car" in the future and so
there is some ideas going there. For you it might be interesting
because of its read-only bits. Feel free to steal whatever you
need ;)
All this is WIP ... no warranty for nothing :)