I'm running the most recent version of Morello Linux. I understand that it's based on Debian. What I need is a way to "debootstrap" a small instance of Morello Linux. Is debootstrap supported for Morello Linux?
Hi Russel,
The Morello Linux rootfs is built using the scripts in this repo: https://git.morello-project.org/morello/morello-rootfs-images/-/tree/morello/mainline
As the README suggests, the Debian image is debootstrapped in two stages (first stage in make_image.sh and second stage in build_debian_image.sh).
You should be able to reuse and modify these scripts if you wish to build a custom Debian image. It's worth noting that this is essentially vanilla arm64 Debian; the purecap Morello environment lives in a separate partition (see morello-sdk.img in the README).
Hope that helps!
Kevin