diff --git a/config/templates/config-example.conf.template b/config/templates/config-example.conf.template index a12f85e7c5..c5f42b5e28 100644 --- a/config/templates/config-example.conf.template +++ b/config/templates/config-example.conf.template @@ -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) \ No newline at end of file