[Fusionforge-commits] FusionForge branch Branch_5_3 updated. ea185a81492ed56c720100712d3fddced1bca404
Sylvain Beucler
beuc-inria at fusionforge.org
Thu Mar 13 16:22:53 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via ea185a81492ed56c720100712d3fddced1bca404 (commit)
via d921eefc390e773a06acf76c4bab846d69e58db0 (commit)
from 1045742cb589ba3dfd89d67db00f4eee7bbfea8f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ea185a81492ed56c720100712d3fddced1bca404
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date: Thu Mar 13 16:16:35 2014 +0100
VM: sign local packages
diff --git a/vm/scripts/build.sh b/vm/scripts/build.sh
index 63d4dc3..a93cc30 100755
--- a/vm/scripts/build.sh
+++ b/vm/scripts/build.sh
@@ -88,4 +88,32 @@ debuild --no-lintian --no-tgz-check -us -uc -tc # using -tc so 'bzr st' is read
debrelease -f local
mv $f debian/changelog
-cd
+export GNUPGHOME=/usr/src/gnupg
+if [ ! -e $GNUPGHOME ]; then
+ mkdir -m 700 $GNUPGHOME
+ # Quick 'n Dirty hack to get entropy on VMs
+ # https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/706011
+ # (don't do this in prod!)
+ aptitude install -y rng-tools
+ echo HRNGDEVICE=/dev/urandom >> /etc/default/rng-tools
+ service rng-tools restart
+ gpg --batch --gen-key <<EOF
+ Key-Type: RSA
+ Key-Length: 2048
+ Subkey-Type: RSA
+ Subkey-Length: 2048
+ Name-Real: FusionForge
+ Expire-Date: 0
+ %commit
+EOF
+ gpg --export FusionForge -a > /usr/src/debian-repository/key.asc
+ apt-key add /usr/src/debian-repository/key.asc
+fi
+(
+ cd /usr/src/debian-repository/local/
+ rm -f Release.gpg
+ gpg --no-tty --batch --detach-sign -o Release.gpg Release
+)
+
+echo 'deb file:///usr/src/debian-repository local/' > /etc/apt/sources.list.d/local.list
+apt-get update
commit d921eefc390e773a06acf76c4bab846d69e58db0
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date: Thu Mar 13 16:16:10 2014 +0100
VM: use stable loggerhead 'backport' URL
diff --git a/vm/scripts/install.sh b/vm/scripts/install.sh
index 1a6c7dd..2e56a60 100755
--- a/vm/scripts/install.sh
+++ b/vm/scripts/install.sh
@@ -12,7 +12,7 @@
#set -x
-grep -q debian-repository /etc/apt/sources.list
+grep -q debian-repository /etc/apt/sources.list /etc/apt/sources.list.d/*
if [ $? -ne 0 ]; then
echo "You probably need to add the following in /etc/apt/sources.list :"
echo "echo 'deb file:///usr/src/debian-repository local/' >> /etc/apt/sources.list"
@@ -22,9 +22,9 @@ fi
set -e
# "Backport" recent dependency
-wget -c http://ftp.fr.debian.org/debian/pool/main/l/loggerhead/loggerhead_1.19~bzr479-3_all.deb
+wget -c http://snapshot.debian.org/archive/debian/20121107T152130Z/pool/main/l/loggerhead/loggerhead_1.19%7Ebzr477-1_all.deb
aptitude install gdebi-core
-gdebi --non-interactive loggerhead_1.19~bzr479-3_all.deb
+gdebi --non-interactive loggerhead_1.19~bzr477-1_all.deb
aptitude update
if dpkg -l fusionforge-full | grep -q ^ii ; then
-----------------------------------------------------------------------
Summary of changes:
vm/scripts/build.sh | 30 +++++++++++++++++++++++++++++-
vm/scripts/install.sh | 6 +++---
2 files changed, 32 insertions(+), 4 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list