[kernel] overiddable hostname

This commit is contained in:
Gwenhael Le Moine 2020-12-14 09:33:12 +01:00
parent f8aac609f8
commit 2eec57513d
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1,9 +1,10 @@
#!/bin/sh
set -e
set -x
CWD=$(pwd)
THIS_HOST=$(hostname -s)
THIS_HOST=${THIS_HOST:-$(hostname -s)}
PRGNAM=$(basename $CWD)-$THIS_HOST
BUILD=${BUILD:-1}
BRANCH=${BRANCH:-mainline} # stable ; mainline