Skip to content

Commit

Permalink
Custom BOARD_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Sep 29, 2021
1 parent a633666 commit 512a46e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions make
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 512a46e

Please sign in to comment.