Skip to content

Commit

Permalink
Adjust the default to focal
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Dec 30, 2021
1 parent f980db3 commit f08afb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
set_release:
description: "RELEASE: bullseye / focal"
required: false
default: "bullseye"
default: "focal"
set_board:
description: "BOARD: lepotato / odroidn2"
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/use-releases-file-to-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
sel_tags_keywords:
description: "Select tags keywords: bullseye / focal"
required: false
default: "bullseye"
default: "focal"

env:
TZ: Asia/Shanghai
Expand Down
4 changes: 2 additions & 2 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ make_image() {
fi

# Make Amlogic s9xxx armbian
build_image_file="${tmp_outpath}/Armbian_${armbian_original_version}_Aml_${build_soc}_bullseye_${make_kernel}_$(date +"%Y.%m.%d.%H%M").img"
build_image_file="${tmp_outpath}/Armbian_${armbian_original_version}_Aml_${build_soc}_focal_${make_kernel}_$(date +"%Y.%m.%d.%H%M").img"
rm -f ${build_image_file}
sync

Expand Down Expand Up @@ -473,7 +473,7 @@ copy_files() {
clean_tmp() {
cd ${tmp_outpath}
# Rename version
[[ "${diff_release_name}" != "bullseye" ]] && rename "s/bullseye/${diff_release_name}/g" *.img 2>/dev/null && sync
[[ "${diff_release_name}" != "focal" ]] && rename "s/focal/${diff_release_name}/g" *.img 2>/dev/null && sync
gzip *.img && sync && mv -f *.img.gz ${armbian_outputpath}
sync

Expand Down

0 comments on commit f08afb6

Please sign in to comment.