build-SD-armbian.sh: Don't checkout git history

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-10-10 17:34:12 +02:00
parent 7d93579db4
commit 6a5f469f21
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -30,8 +30,8 @@ source etc/library.sh # sets RELEASE
prepare_dirs # tmp cache output
# get latest armbian
[[ -d armbian ]] || git clone https://github.com/armbian/build armbian
( cd armbian && git pull --ff-only --tags && git checkout v23.02 )
[[ -d armbian ]] || git clone --depth 1 --branch v23.02 https://github.com/armbian/build armbian
( cd armbian && git checkout v23.02 )
# add NCP modifications
mkdir -p armbian/userpatches armbian/userpatches/overlay