mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Revision is read from configuration so version must be set after loading the script.
This commit is contained in:
8
main.sh
8
main.sh
@@ -175,10 +175,6 @@ if [[ "$RELEASE" == "precise" || "$RELEASE" == "trusty" ]]; then DISTRIBUTION="U
|
||||
# set hostname to the board
|
||||
HOST="$BOARD"
|
||||
|
||||
# The name of the job
|
||||
VERSION="Armbian $REVISION ${BOARD^} $DISTRIBUTION $RELEASE $BRANCH"
|
||||
echo `date +"%d.%m.%Y %H:%M:%S"` $VERSION > $DEST/debug/install.log
|
||||
|
||||
# Load libraries
|
||||
source $SRC/lib/configuration.sh # Board configuration
|
||||
source $SRC/lib/debootstrap.sh # System specific install
|
||||
@@ -189,6 +185,10 @@ source $SRC/lib/desktop.sh # Desktop specific install
|
||||
source $SRC/lib/common.sh # Functions
|
||||
source $SRC/lib/makeboarddeb.sh # Create board support package
|
||||
|
||||
# The name of the job
|
||||
VERSION="Armbian $REVISION ${BOARD^} $DISTRIBUTION $RELEASE $BRANCH"
|
||||
echo `date +"%d.%m.%Y %H:%M:%S"` $VERSION > $DEST/debug/install.log
|
||||
|
||||
# needed if process failed in the middle
|
||||
umount_image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user