diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-20 17:58:01 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-20 17:58:01 +0300 |
commit | d82a635eb16c0be7c02dec84f5cea4309209b627 (patch) | |
tree | 6317bf5a0d6473294366ba4ed7fcad4be94d1769 | |
parent | f3274e7784d715241c1f426381846c5600cf6893 (diff) |
armbian: fix disabling SSH and clean before builds
-rw-r--r-- | armbian.sh | 2 | ||||
-rwxr-xr-x | build-SD-armbian.sh | 4 | ||||
-rw-r--r-- | docker-armhf/build-container.sh | 4 |
3 files changed, 4 insertions, 6 deletions
@@ -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 } } |