Permalink
Browse files

Updated Rakefile to allow per-package sources lists.

  • Loading branch information...
patch0 committed Dec 9, 2015
1 parent f5c7bea commit 730cfe5f11071f86b5e3603383b81974cde605f5
Showing with 12 additions and 1 deletion.
  1. +6 −1 Rakefile
  2. +6 −0 symbiosis-common-sources.list
View
@@ -461,7 +461,12 @@ namespace :pkg do
# Now call sautobuild and debsign
#
if has_sautobuild?
- sh "/usr/bin/sautobuild --no-repo --dist=#{DISTRO}_#{RELEASE} #{pkg[:dir]}"
+ if File.exists?("#{pkg[:source]}-sources.list")
+ sources_list = "--sources-list=#{pkg[:source]}-sources.list"
+ else
+ sources_list = ""
+ end
+ sh "/usr/bin/sautobuild #{sources_list} --no-repo --dist=#{DISTRO}_#{RELEASE} #{pkg[:dir]}"
else
sh "cd #{pkg[:dir]} && debuild -us -uc -sa"
end
@@ -0,0 +1,6 @@
+
+#
+# This is required for the common package to build.
+#
+deb http://repo.bytemark.co.uk/ruby-letsencrypt/jessie ./
+

0 comments on commit 730cfe5

Please sign in to comment.