Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6496 - trunk/packaging

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/ps-java-services] r6496 - trunk/packaging


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6496 - trunk/packaging
  • Date: Wed, 12 Feb 2014 19:02:32 +0000 (GMT)

Author: dante.delvaux
Date: 2014-02-12 19:02:32 +0000 (Wed, 12 Feb 2014)
New Revision: 6496

Modified:
trunk/packaging/arti2unstable.sh
Log:
Adding a note in the arti2unstable publishing script to mention the GPG
passphrase.


Modified: trunk/packaging/arti2unstable.sh
===================================================================
--- trunk/packaging/arti2unstable.sh 2014-02-12 18:48:57 UTC (rev 6495)
+++ trunk/packaging/arti2unstable.sh 2014-02-12 19:02:32 UTC (rev 6496)
@@ -1,15 +1,17 @@
#!/bin/bash
-# This script mirrors the Debian and RPM packages published to the
artifactory server
-# It then looks for newly created ones (published during the last 24h) and
adds those
+# This script mirrors the Debian and RPM packages published to the
artifactory server
+# It then looks for newly created ones (published during the last 24h) and
adds those
# to the unstable repositories. These are night builds.
#
-# The packages coming from artifactory are Java based and are all to be
published in
+# The packages coming from artifactory are Java based and are all to be
published in
# both arch (Debian) or the noarch (RPM) section of the repository.
#
# This script is supposed to be called by cron every night.
# For example like this:
# 13 3 * * * /root/arti2unstable.sh >> /var/log/psrepo.log 2>&1
#
+# Note that you need to actually insert the actual GPG pass phrase to have
RPM signing
+#
# © 2013 -


# Main constants
@@ -63,7 +65,8 @@
# We use expect to input the empty passphrase configured in
our key
/usr/bin/expect -c "spawn rpm --resign ${rpmf}
expect \"Enter pass phrase:\"
- send \"\r\""
+ send -- \"replace_this_with_gpg_pass_phrase\r\"
+ expect eof"
echo
cd ${RPMPATH}
/usr/bin/createrepo -q ${RPMDISTRO}



  • [pS-dev] [GEANT/SA2/ps-java-services] r6496 - trunk/packaging, svn-noreply, 02/12/2014

Archive powered by MHonArc 2.6.16.

Top of Page