Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-07-02 04:15:46 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-06 06:43:54 +0300
commit35526ab9fcfc538b68a10bbf449d6b1fe5ea7d6d (patch)
treebf5f7762937f0fd38bb7463041e25726cc74bd16 /build-SD-armbian.sh
parent88da901eddff125b3e71d9706fbe02edffc659b3 (diff)
build: use a system wide config file. Remove sury sources
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'build-SD-armbian.sh')
-rwxr-xr-xbuild-SD-armbian.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-SD-armbian.sh b/build-SD-armbian.sh
index 4b95e9ef..6af6d872 100755
--- a/build-SD-armbian.sh
+++ b/build-SD-armbian.sh
@@ -11,12 +11,14 @@
#CLEAN=0 # Pass this envvar to avoid cleaning download cache
BOARD="$1"
BNAME="${2:-$1}"
+NCPCFG=etc/ncp.cfg
IMG="NextCloudPi_${BNAME}_$( date "+%m-%d-%y" ).img"
IMG=tmp/"$IMG"
set -e
source buildlib.sh
+source etc/library.sh # sets RELEASE
prepare_dirs # tmp cache output
@@ -36,7 +38,7 @@ rsync -Aax --delete --exclude-from .gitignore --exclude *.img --exclude *.bz2 .
cat > armbian/config-docker-guest.conf <<EOF
BOARD="$BOARD"
BRANCH=default
-RELEASE=stretch
+RELEASE=$RELEASE
KERNEL_ONLY=no
KERNEL_CONFIGURE=no
BUILD_DESKTOP=no