From cf0364684b7dad4832dd6e69fc42c6eea2f805b7 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 29 Sep 2025 07:18:34 +0200 Subject: [PATCH] Add firstboot config --- .github/workflows/action.yml | 2 +- userpatches/config-sdk-images.conf | 18 ++++++++++++++++++ userpatches/firstboot.conf | 17 +++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 userpatches/config-sdk-images.conf create mode 100644 userpatches/firstboot.conf diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 8c41a5e..c565943 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -36,7 +36,7 @@ jobs: with: # mandatory armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub installation access token - armbian_target: "armbian-images" # build configuration from userpatches + armbian_target: "armbian-sdk" # build configuration from userpatches armbian_release: "${{ matrix.os }}" # userspace: jammy, bookworm, trixie, etc. armbian_board: "${{ matrix.board }}" # board build target # optional diff --git a/userpatches/config-sdk-images.conf b/userpatches/config-sdk-images.conf new file mode 100644 index 0000000..38070f9 --- /dev/null +++ b/userpatches/config-sdk-images.conf @@ -0,0 +1,18 @@ +display_alert "Common settings for Armbian SDK OS images" "setting default values" "info" +declare -g VENDOR="Armbian SDK" +declare -g VENDORCOLOR="5;100;115" +declare -g VENDORURL="https://www.armbian.com" +declare -g VENDORDOCS="https://docs.armbian.com" +declare -g VENDORSUPPORT="https://forum.armbian.com" +declare -g VENDORPRIVACY="https://www.armbian.com" +declare -g VENDORBUGS="https://www.armbian.com/bugs" +declare -g VENDORLOGO="armbian-logo" +declare -g MAINTAINERMAIL=info@armbian.com +declare -g MAINTAINER="Armbian Linux" +declare -g COMPRESS_OUTPUTIMAGE="no" +declare -g EXPERT="yes" +declare -g KERNEL_BTF="yes" +declare -g COMPRESS_OUTPUTIMAGE="sha,img,xz" +declare -g IMAGE_XZ_COMPRESSION_RATIO=8 +declare -g DONT_BUILD_ARTIFACTS="kernel,firmware,full_firmware,fake_ubuntu_advantage_tools,armbian-zsh,armbian-plymouth-theme" +declare -g PREFER_DOCKER="yes" diff --git a/userpatches/firstboot.conf b/userpatches/firstboot.conf new file mode 100644 index 0000000..5ff4239 --- /dev/null +++ b/userpatches/firstboot.conf @@ -0,0 +1,17 @@ +#/root/.not_logged_in_yet + +# System +SET_LANG_BASED_ON_LOCATION="n" +PRESET_LOCALE="en_US.UTF-8" +PRESET_TIMEZONE="Etc/UTC" + +# Root +PRESET_ROOT_PASSWORD="armbian" +PRESET_ROOT_KEY="" + +# User +PRESET_USER_NAME="armbian" +PRESET_USER_PASSWORD="armbian" +PRESET_USER_KEY="" +PRESET_DEFAULT_REALNAME="Armbian user" +PRESET_USER_SHELL="bash"