jimg Posted yesterday at 01:10 PM Posted yesterday at 01:10 PM I apologize if this is a basic question. I'm trying to make a minimal Orange Pi Zero 3 Trixie image with a btrfs file system and NetworkManager for the networking stack using Docker without having to compile a new kernel (i.e., I just want to use the precompiled kernel found in the CSC version). I created a `config-myimage.conf` file under `build/userpatches`: BOARD=orangepizero3 BRANCH=current RELEASE=trixie CLEAN_LEVEL=cache KERNEL_CONFIGURE=no BUILD_KSRC=no BUILD_MINIMAL=yes NETWORKING_STACK=network-manager DOCKER_ARMBIAN_BASE_IMAGE=ubuntu:jammy ROOTFS_TYPE=btrfs BTRFS_COMPRESSION=zlib CONSOLE_AUTOLOGIN=yes #BOOTSIZE=96 # need larger boot size to prevent 'disk out of space' # on kernel upgrade BOOTSIZE=256 COMPRESS_OUTPUTIMAGE='sha,xz' EXTRAWIFI=yes function user_config__010_modify_package_list() { # adds additional packages to the package cache add_packages_to_rootfs btrfs-progs neovim pmount nmap tmux # edit this list to remove packages from cache remove_packages nano } I then ran `./compile.sh myimage`, but it launches into kernel compilation. I did this once before uisng bookworm, but I can't remember how.... 0 Quote
Werner Posted 22 hours ago Posted 22 hours ago 2 hours ago, jimg said: CLEAN_LEVEL=cache Why? Will cause recompilation on every build 2 hours ago, jimg said: BUILD_KSRC=no This does not exist anymore IIRC. 2 hours ago, jimg said: DOCKER_ARMBIAN_BASE_IMAGE=ubuntu:jammy Non-standard docker image can cause rebuild since it is now based on Noble. 2 hours ago, jimg said: CONSOLE_AUTOLOGIN=yes This is not needed since it is default behavior. 2 hours ago, jimg said: EXTRAWIFI=yes Also unneeded since default is yes already. 0 Quote
laibsch Posted 15 hours ago Posted 15 hours ago Please be aware that trixie is as of now still unsupported 0 Quote
jimg Posted 14 hours ago Author Posted 14 hours ago (edited) 18 hours ago, Werner said: 20 hours ago, jimg said: DOCKER_ARMBIAN_BASE_IMAGE=ubuntu:jammy Non-standard docker image can cause rebuild since it is now based on Noble. Thanks for the information, @Werner. That was all useful to know. I removed the attributes you noted and tried building again. (FWIW, removing the DOCKER_ARMBIAN_BASE_IMAGE line using a fresh docker image (no cache)still defaulted to Jammy, not Noble. ) The final image turned out OK, but still required compilation. Is this because the target is Trixie (not Bookworm) which is still unsupported, or is it just not possible now to create a custom image without also compiling a kernel? Edited 4 hours ago by jimg added note about Jammy still is the defualt 0 Quote
jimg Posted 14 hours ago Author Posted 14 hours ago 1 hour ago, laibsch said: Please be aware that trixie is as of now still unsupported Yes, I'm aware of that. I wanted to try it because it has a more up-to-date version of Podman, and will likely become stable by the end of the year. 0 Quote
Recommended Posts
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.