Remove package signing scripts

- Rapture handles package signing, so drop all this mess

Change-Id: Iad0640afcb5ffc5e4e9fd621c2d5e2c7dd619b74
diff --git a/Makefile b/Makefile
index 9d245fb..fa7fbc2 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,6 @@
 include $(ROOTDIR)/build/prereqs.mk
 include $(ROOTDIR)/build/rootfs.mk
 include $(ROOTDIR)/build/sdcard.mk
-include $(ROOTDIR)/build/signing.mk
 include $(ROOTDIR)/build/u-boot.mk
 
 include $(ROOTDIR)/build/docker.mk
diff --git a/distributions b/distributions
deleted file mode 100644
index 1727728..0000000
--- a/distributions
+++ /dev/null
@@ -1,8 +0,0 @@
-Origin: Google LLC
-Label: Google
-Suite: stable
-Codename: animal
-Version: 1.0
-Architectures: arm64 source
-Components: main
-Description: Google AIY Board Debian repository
diff --git a/kokoro/release.sh b/kokoro/release.sh
index 291bc40..a317592 100644
--- a/kokoro/release.sh
+++ b/kokoro/release.sh
@@ -6,24 +6,3 @@
 # Run continuous.sh first
 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 bash ${SCRIPT_DIR}/continuous.sh
-
-pushd git/continuous-build
-source build/setup.sh
-popd
-
-export IS_GLINUX=true
-export TARBALL_FETCH_ROOT_DIRECTORY=${KOKORO_GFILE_DIR}
-export PREBUILT_MODULES_ROOT=${KOKORO_GFILE_DIR}
-export PREBUILT_DOCKER_ROOT=${KOKORO_GFILE_DIR}
-export FETCH_PBUILDER_DIRECTORY=${KOKORO_GFILE_DIR}
-export PACKAGES_FETCH_ROOT_DIRECTORY=${KOKORO_GFILE_DIR}
-export PACKAGES_REVISION=.
-export ROOTFS_REVISION=.
-export FETCH_PACKAGES=false
-
-m docker-make-repo
-
-m sign-repo
-
-# Copy signed repo to artifacts
-cp -r ${PRODUCT_OUT}/repo/debian_repo ${KOKORO_ARTIFACTS_DIR}
diff --git a/prereqs.mk b/prereqs.mk
index 509f644..e7e0b99 100644
--- a/prereqs.mk
+++ b/prereqs.mk
@@ -47,7 +47,6 @@
 	python3-setuptools \
 	qemu-user-static \
 	quilt \
-	reprepro \
 	rsync \
 	xz-utils \
 	zlib1g-dev
diff --git a/signing.mk b/signing.mk
deleted file mode 100644
index 5ed4068..0000000
--- a/signing.mk
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2018 Google LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-ifeq ($(ROOTDIR),)
-$(error $$ROOTDIR IS NOT DEFINED -- don\'t forget to source setup.sh)
-endif
-
-include $(ROOTDIR)/build/preamble.mk
-
-make-repo: $(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release
-$(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release: $(ROOTDIR)/build/distributions | packages-tarball
-	mkdir -p $(PRODUCT_OUT)/repo
-	mkdir -p $(PRODUCT_OUT)/repo/debian_repo
-	mkdir -p $(PRODUCT_OUT)/repo/deb_repo_config
-	tar -xvf $(ROOTDIR)/cache/packages.tgz -C $(PRODUCT_OUT)/repo
-	cp $(ROOTDIR)/build/distributions $(PRODUCT_OUT)/repo/deb_repo_config/
-	reprepro --basedir $(PRODUCT_OUT)/repo \
-	         --outdir $(PRODUCT_OUT)/repo/debian_repo \
-	         --confdir $(PRODUCT_OUT)/repo/deb_repo_config \
-	         includedeb animal $(PRODUCT_OUT)/repo/packages/*.deb
-	# Sigh, reprepro doesn't accept multiple dsc's at once...
-	find $(PRODUCT_OUT)/packages -maxdepth 1 -type f -name '*.dsc' | \
-	xargs -n1 \
-	reprepro --basedir $(PRODUCT_OUT)/repo \
-					 --outdir $(PRODUCT_OUT)/repo/debian_repo \
-					 --confdir $(PRODUCT_OUT)/repo/deb_repo_config \
-					 includedsc animal
-	find $(PRODUCT_OUT)/repo/debian_repo -type d | xargs chmod 777
-	find $(PRODUCT_OUT)/repo/debian_repo -type f | xargs chmod 666
-
-sign-repo: $(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release.gpg
-$(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release.gpg:
-ifneq (,$(wildcard /escalated_sign/escalated_sign.py))
-	/escalated_sign/escalated_sign.py \
-	  --tool=linux_gpg_sign \
-	  --job-dir=/escalated_sign_jobs -- \
-	  --loglevel=debug $(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release
-	mv $(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release.asc \
-	   $(PRODUCT_OUT)/repo/debian_repo/dists/stable/Release.gpg
-else
-	@echo "Not signing deb packages (if you are building locally -- this is okay)"
-endif
-
-.PHONY:: make-repo sign-repo