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>2018-06-20 17:58:01 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-20 17:58:01 +0300
commitd82a635eb16c0be7c02dec84f5cea4309209b627 (patch)
tree6317bf5a0d6473294366ba4ed7fcad4be94d1769
parentf3274e7784d715241c1f426381846c5600cf6893 (diff)
armbian: fix disabling SSH and clean before builds
-rw-r--r--armbian.sh2
-rwxr-xr-xbuild-SD-armbian.sh4
-rw-r--r--docker-armhf/build-container.sh4
3 files changed, 4 insertions, 6 deletions
diff --git a/armbian.sh b/armbian.sh
index 22a34517..cd5793bd 100644
--- a/armbian.sh
+++ b/armbian.sh
@@ -31,7 +31,7 @@ curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install
chage -d 0 root
# disable SSH by default, it can be enabled through ncp-web
-systemctl disable sshd
+systemctl disable ssh
# License
diff --git a/build-SD-armbian.sh b/build-SD-armbian.sh
index e331f7f9..967a7aa6 100755
--- a/build-SD-armbian.sh
+++ b/build-SD-armbian.sh
@@ -38,8 +38,10 @@ RELEASE=stretch
KERNEL_ONLY=no
KERNEL_CONFIGURE=no
BUILD_DESKTOP=no
-CLEAN_LEVEL=""
USE_CCACHE=yes
+CLEAN_LEVEL="cache debs"
+# CLEAN_LEVEL="" # study this: it is much faster, but generated images might be broken (#548)
+# NO_APT_CACHER=no # this will also improve build times, but doesn't seem very reliable
EOF
# board specific parameters
diff --git a/docker-armhf/build-container.sh b/docker-armhf/build-container.sh
index 46cd10cc..d7d0eed3 100644
--- a/docker-armhf/build-container.sh
+++ b/docker-armhf/build-container.sh
@@ -20,10 +20,6 @@ install()
docker push ownyourbits/nextcloud-armhf
docker push ownyourbits/lamp-armhf
docker push ownyourbits/debian-ncp-armhf
-
- # keep old container updated, at least for a while
- docker tag ownyourbits/nextcloudpi-armhf ownyourbits/nextcloudpi-armhf
- docker push ownyourbits/nextcloudpi-armhf
}
}