From b2034aa04d9109762c94f8a8a6496cddf5b7f66a Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 26 Feb 2020 22:06:57 +0100 Subject: [PATCH] [ aufs ] define override for versions tagged outside default pattern --- lib/compilation-prepare.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/compilation-prepare.sh b/lib/compilation-prepare.sh index c03a1a481c..406110f5b3 100644 --- a/lib/compilation-prepare.sh +++ b/lib/compilation-prepare.sh @@ -68,6 +68,9 @@ compilation_prepare() # attach to specifics tag or branch local aufstag=$(echo ${version} | cut -f 1-2 -d ".") + # manual overrides + if linux-version compare $version ge 5.4.3 ; then aufstag="5.4.3"; fi + # check if Mr. Okajima already made a branch for this version git ls-remote --exit-code --heads https://github.com/sfjro/aufs5-standalone aufs${aufstag} >/dev/null