Permalink
Browse files

Rakefile now can include a key in sautobuild.

  • Loading branch information...
patch0 committed Dec 9, 2015
1 parent 730cfe5 commit 2368c40f406d13e298b31ecffec0d7c41b03e732
Showing with 65 additions and 4 deletions.
  1. +8 −4 Rakefile
  2. +57 −0 symbiosis-common-sources.key
View
@@ -461,12 +461,16 @@ namespace :pkg do
# Now call sautobuild and debsign
#
if has_sautobuild?
extra_opts = []
if File.exists?("#{pkg[:source]}-sources.list")
sources_list = "--sources-list=#{pkg[:source]}-sources.list"
else
sources_list = ""
extra_opts << "--sources-list=#{pkg[:source]}-sources.list"
end
if File.exists?("#{pkg[:source]}-sources.key")
extra_opts << "--apt-key=#{pkg[:source]}-sources.key"
end
sh "/usr/bin/sautobuild #{sources_list} --no-repo --dist=#{DISTRO}_#{RELEASE} #{pkg[:dir]}"
sh "/usr/bin/sautobuild #{extra_opts.join(" ")} --no-repo --dist=#{DISTRO}_#{RELEASE} #{pkg[:dir]}"
else
sh "cd #{pkg[:dir]} && debuild -us -uc -sa"
end
@@ -0,0 +1,57 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)
mQINBFMNzhMBEADT4Dm/YdFVWadSnlERmCL9Ow6R2eHkDJxFpChSxIhMCJquNwKS
RcrxNQLLXAMgck9QM8dxNd2uA56bdNQK2pRFdyDucr9RMzFB1Cf2BqlWudV7P2iS
EFXD1g/pneNlcFJ1z4vXWGhWuuHmO6qbWU29hDPS6ugvltyFuLDl2tL10c9iKxqz
5ZLwCf6LR7RjnnFsFNgxjquYbujwzDr9AiUegaYbyERLQlDHzQVgWtbmgIbSWEzS
ecmEaKK6MXREo3CFaVGSaSrMXUUIfo0WFOYhLrUT2s1wZqHcVNKoEEcg3CHA9KEf
Jog3Q5j/NLEigNLF+CelRxPH1RT1XI6YSps1b/p7MPAYU+eBbZrrvonfqrxNDcNN
ZR2klC3SF7hiPO9KMmpDLZXlgxEx2aNvaZ2U2bzQeArNQ7GELcqT5+fuTRD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