[SCM] ci-tooling packaging branch, master, updated. ae9fec32cd4bf1e944dbcde322ba33fad0f99581

Rohan Garg rohangarg-guest at moszumanska.debian.org
Fri Nov 6 13:47:42 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=ae9fec3

The following commit has been merged in the master branch:
commit ae9fec32cd4bf1e944dbcde322ba33fad0f99581
Author: Rohan Garg <rohan at garg.io>
Date:   Fri Nov 6 14:47:37 2015 +0100

    Add a imager script
---
 ci/{sourcer.rb => imager.rb} | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/ci/sourcer.rb b/ci/imager.rb
old mode 100755
new mode 100644
similarity index 68%
copy from ci/sourcer.rb
copy to ci/imager.rb
index 5b2ea66..d1f08eb
--- a/ci/sourcer.rb
+++ b/ci/imager.rb
@@ -1,12 +1,16 @@
 #!/usr/bin/env ruby
-require_relative '../lib/ci/build_source'
 
-DIST = ENV.fetch('DIST')
+require_relative '../lib/apt'
 
-s = CI::VcsSourceBuilder.new(release: DIST)
-r = s.run
-# Write out metadata
-open('build/source.yaml', 'w+') { |f| f.write(YAML.dump(r)) }
+fail "No live-config found!" unless File.exist?('live-config')
+
+Apt.update
+Apt.install(%w(live-build live-images qemu-user-static))
+
+Dir.chdir('live-config') do
+  system('./configure')
+  system('make')
+end
 
 # Workaround for docker not having suidmaps. We run as root in the docker
 # which will result in uid/gid of written things to be 0 rather than whatever

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list