[Cryptech-Commits] [user/sra/novena-releng] 02/02: Add .dsc files to repository and specify distribution codename.
git at cryptech.is
git at cryptech.is
Sun Jul 5 01:54:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch master
in repository user/sra/novena-releng.
commit 3101c2147524d485c505a0710d38ca19655a7016
Author: Rob Austein <sra at hactrn.net>
Date: Sat Jul 4 21:51:46 2015 -0400
Add .dsc files to repository and specify distribution codename.
---
Makefile | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index bd05920..cf9c4f0 100644
--- a/Makefile
+++ b/Makefile
@@ -64,10 +64,16 @@ DCH = test -f debian/changelog || \
dch --create --package cryptech-novena-$(1) --newversion '${CRYPTECH_PACKAGE_VERSION}' \
'Version ${CRYPTECH_VERSION} of Cryptech $(2) for the Novena PVT-1 development board.'
-# Where to find the reprepro repository. The "reprepro" target will
-# initialize this if it doesn't exist.
+# Reprepro repository location and release codename. The "reprepro"
+# target will initialize this if it doesn't exist.
+#
+# Support for multiple distributions (codenames) not implemented yet.
+# Not sure if there's any way to do it without generating separate
+# packages for each codename (which would be rather tedious,
+# particularly for the RTL package).
REPOSITORY := $(abspath ${HOME}/repository)
+CODENAME := wheezy
all: init sw rtl
@@ -85,12 +91,11 @@ rtl:
cd rtl; debuild -S -uc -us
cd rtl; debuild -b -uc -us -aarmhf
-
reprepro: ${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options
- for i in *.changes; do reprepro -b ${REPOSITORY} include $$i; done
+ for f in *.changes; do reprepro -b ${REPOSITORY} --ignore=wrongdistribution include ${CODENAME} $$f; done
+ for f in *.dsc; do reprepro -b ${REPOSITORY} --ignore=wrongdistribution includedsc ${CODENAME} $$f; done
${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options:
install -D reprepro-conf/$(notdir $@) ${REPOSITORY}/conf/$(notdir $@)
-
.PHONY: all init sw rtl reprepro
More information about the Commits
mailing list