August 14, 20251 yr Hi, trying to get a bit deeper into Armbian, I tried to create my own minimal Trixie-based image for the RockPI-S. I'm using a Ubuntu Noble VM and I managed to run a successfull build following the quick start guide. However, creating an image using ./compile.sh build BOARD=rockpi-s BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie leads to an image with a size around 1.5GB. Compared to the downloadable minimal images, which have 200MB-300MB, this is quite large. Does anyone has any hints on how to proceed in order to self-build images comparable to the ones offered for download? Cheers,
August 14, 20251 yr The uncompressed minimal image is about 1.5GB. How large is your trixie based image after you compress it with xz ?
August 15, 20251 yr 2 hours ago, dg4gg8cb9s said: However, creating an image using ./compile.sh build BOARD=rockpi-s BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie leads to an image with a size around 1.5GB. Compared to the downloadable minimal images, which have 200MB-300MB, this is quite large. adding COMPRESS_OUTPUTIMAGE to your call will compress your image. $ ./compile.sh build BOARD=rockpi-s BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie COMPRESS_OUTPUTIMAGE=xz [...] $ ls -lh output/images/*.xz -rw-rw-r-- 1 user root 342M Aug 15 01:03 output/images/Armbian-unofficial_25.11.0-trunk_Rockpi-s_trixie_current_6.12.41_minimal.img.xz
September 2, 20251 yr Author Hi, many thanks for your hints @brentr and @laibsch! 😀 Using COMPRESS_OUTPUTIMAGE=xz did the trick and the image size is now more in an expected range. However, using the paramters and commandline above gives me an image with a size of 342MB whereas the current rolling Trixie image is 273MB. I don't think it is a big deal, but I still would like to understand the difference 😊 Cheers
September 2, 20251 yr dig through the github actions, how the images are compiled is public information ;-)
September 3, 20251 yr You can also build from the release version, though I'm not sure it's fully that version for everything since the build process downloads updates from the internet. https://github.com/armbian/build/releases/tag/v25.8.1 At the top of that page, you can see how many commits have been added to main since the release of v25.8.1. You can download the source code at the bottom where it says Assets. Edited September 3, 20251 yr by The Tall Man
September 3, 20251 yr Author Thank you all, I appreciate your patience! 🙏 I'm not sure on how deep I should go here. I started to learn about the process to address the problem that 10mpbs ethernet not is not working on my Rockpi S and I now know enough to deal with this problem. So my feeling is to not go further but focus on the functional problem to solve it 😉 Thanks again!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.