Implementing workaround for correct AUFS sources selection

Closes https://github.com/armbian/build/issues/3297
This commit is contained in:
Igor Pecovnik 2021-11-29 11:59:13 +01:00
parent bfe0300700
commit 9e61b3a762
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -161,6 +161,7 @@ compilation_prepare()
# manual overrides
if linux-version compare "${version}" ge 5.4.3 && linux-version compare "${version}" le 5.5 ; then aufstag="5.4.3"; fi
if linux-version compare "${version}" ge 5.10.82 && linux-version compare "${version}" le 5.11 ; then aufstag="5.10.82"; fi
# check if Mr. Okajima already made a branch for this version
improved_git ls-remote --exit-code --heads https://github.com/sfjro/aufs5-standalone "aufs${aufstag}" >/dev/null