From 512a46e87c7149d812aa6fab01a54205d87c84fe Mon Sep 17 00:00:00 2001 From: ophub Date: Thu, 30 Sep 2021 07:57:07 +0800 Subject: [PATCH] Custom BOARD_NAME --- .github/workflows/build-armbian.yml | 7 ++----- make | 3 +++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-armbian.yml b/.github/workflows/build-armbian.yml index df8a2861e0..6470e7838f 100644 --- a/.github/workflows/build-armbian.yml +++ b/.github/workflows/build-armbian.yml @@ -18,9 +18,7 @@ on: env: ARMBIAN_BOARD: lepotato - ARMBIAN_BOARD_NAME: 'Aml S9xxx' ARMBIAN_HOST: armbian - ARMBIAN_NAMESERVER: '192.168.1.1' UPLOAD_FIRMWARE: false UPLOAD_RELEASE: true DELETE_RELEASE: true @@ -69,9 +67,8 @@ jobs: run: | cd build/ sudo chmod +x compile.sh - sudo ./compile.sh BOARD="${{ env.ARMBIAN_BOARD }}" BOARD_NAME="${{ env.ARMBIAN_BOARD_NAME }}" HOST="${{ env.ARMBIAN_HOST }}" \ - NAMESERVER="${{ env.ARMBIAN_NAMESERVER }}" BRANCH=current RELEASE=buster BUILD_MINIMAL=no BUILD_DESKTOP=no \ - KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img + sudo ./compile.sh BOARD="${{ env.ARMBIAN_BOARD }}" HOST="${{ env.ARMBIAN_HOST }}" BRANCH=current RELEASE=buster \ + BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img echo "::set-output name=status::success" - name: Make Armbian for amlogic s9xxx diff --git a/make b/make index ea3cc5f64b..c58e8bb1c1 100755 --- a/make +++ b/make @@ -383,6 +383,9 @@ copy_files() { echo "KERNEL_VERSION='${KERNEL_VERSION}'" >> etc/armbian-aml-release 2>/dev/null echo "SOC='${AMLOGIC_SOC}'" >> etc/armbian-aml-release 2>/dev/null echo "K510='${K510}'" >> etc/armbian-aml-release 2>/dev/null + + # Custom banner name + sed -i "s|BOARD_NAME=.*|BOARD_NAME=\"Aml ${AMLOGIC_SOC}\"|g" etc/armbian-release sync