fix link and create a proper example config

This commit is contained in:
Werner 2025-04-15 06:50:34 +00:00 committed by Igor
parent 554580ae34
commit c93edf5b4e

View File

@ -1,22 +1,21 @@
# Read build script documentation https://docs.armbian.com/Developer-Guide_Build-Options/
# for detailed explanation of these options and for additional options not listed here
# See build framework documentation for a detailed explanation of all available switches:
# https://docs.armbian.com/Developer-Guide_Build-Switches/
KERNEL_CONFIGURE="" # leave empty to select each time, set to "yes" or "no" to skip dialog prompt
CLEAN_LEVEL="" # comma-separated list of clean targets:
: # --> "make-atf" = make clean for ATF, if it is built.
: # --> "make-uboot" = make clean for uboot, if it is built.
: # --> "make-kernel" = make clean for kernel, if it is built. very slow.
: # --> "debs" = delete packages in "./output/debs"; debs are re-downloaded (if available) or re-built.
: # --> "alldebs" = delete all packages in "./output/debs",
: # --> "images" = delete "./output/images",
: # --> "cache" = delete "./output/cache",
: # --> "sources" = delete "./sources"
: # --> "oldcache" = remove old cached rootfs except for the newest 8 files
: # --> *important*: "make" by itself has disabled, since Armbian knows how to handle Make timestamping now.
# This example config file can be issue by running
# ./compile.sh example
# and will output a ready to run image as described below
BOARD=rock-5b # Build something for the Radxa ROCK 5B as further specified below
BRANCH=current # Use _current_ branch which equals to latest available Linux LTS kernel
RELEASE=bookworm # Use Debian Bookworm userspace
KERNEL_CONFIGURE=no # skip dialog prompt for adjusting the Linux kernel configuration
INSTALL_HEADERS=yes # Install Linux kernel headers while building. Can be useful for 3rd party drivers
SHARE_LOGS=yes # Upload logs to Armbian's paste service to share with developers
BUILD_MINIMAL=no # Install common CLI utils while building
# DEST_LANG="en_US.UTF-8" # Example: "sl_SI.UTF-8" Default: "en_US.UTF-8"
# advanced
INSTALL_HEADERS="" # install kernel headers package
DOWNLOAD_MIRROR="" # set to "china" to use chinese mirrors # @TODO: this needs review and test while running in mainland china
CARD_DEVICE="" # device name /dev/sdx of your SD card to burn directly to the card when done
# Use build host DNS server inside chroot instead of default 1.0.0.1
NAMESERVER=$(grep nameserver /etc/resolv.conf|awk '{ print $2 }'| head -n 1)