pi_customizer 0.2.0.pre.alpha → 0.3.0.pre.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5dc9b4e7152770e5dbad6a7f8539e2e63ea3fe48
4
- data.tar.gz: a336cd72baf1151fb86ed2bd5397f2be82c1cc9c
2
+ SHA256:
3
+ metadata.gz: 5c957ade234bf33cbd7349481dd2c37cc1353879cb8be72cb8ee065bc68c89e8
4
+ data.tar.gz: 5189286585e7181067bfdc4e239abbd82048091a0cba2b9579f92ff2fb590f48
5
5
  SHA512:
6
- metadata.gz: 11340fbf8960862852cd043351a85e98cc76595ce15387fd91e4135f81f042f7548c5bc35966f5abd1263eea037f65a70e491dace4b34a20297b4c7639f729f7
7
- data.tar.gz: f31266d2b711aa37349b918b0cba741ac58b46f706ce3af0853795b0126352ea83934b4ad67042cc40f88828e943909247fdadb2bf8377931feddd59297fccbd
6
+ metadata.gz: 39c92af0b676abdb9a09a8fa42d79f7c481c4d7be085ac7564b06f615b4f7f6bcbf002605da10ce187fcb5ae9586299981f9c453e190a68afba2cb51decf1a5d
7
+ data.tar.gz: 1961c5d1fe08a80d5e02a444892086942bbb94c6a1abc1272f53f9b466b5b9be6121ef7800cd6ae5ef888aa12c3f7a0708ab9d5ebe1023a2c2505859f3ecc459
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 Beate Ottenwälder
3
+ Copyright (c) 2017-2018 Beate Ottenwälder
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/bin/pi_customizer CHANGED
@@ -1,5 +1,25 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # Copyright (c) 2017-2018 Beate Ottenwälder
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in all
13
+ # copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ # SOFTWARE.
22
+
3
23
  require 'pi_customizer'
4
24
 
5
25
  PiCustomizer::PiCustomizer.start(ARGV)
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -18,11 +18,16 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
 
21
- require 'pi_customizer/environment/environment_builder_factory'
21
+ require 'pi_customizer/build/environment/environment_builder_factory'
22
22
  require 'pi_customizer/utils/logex'
23
23
 
24
24
  module PiCustomizer
25
25
  module Builder
26
+
27
+ ##
28
+ # BuildExecutor triggers the steps of a build process in a given environment (e.g., a vagrant box).
29
+ # It skips individual steps in the build process when they are defined as skip_build_steps.
30
+
26
31
  class BuildExecutor
27
32
 
28
33
  attr_reader :env, :skip_build_steps
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -18,11 +18,16 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
 
21
- require 'pi_customizer/environment/environment_builder_factory'
22
- require 'pi_customizer/builder/build_executor'
21
+ require 'pi_customizer/build/environment/environment_builder_factory'
22
+ require 'pi_customizer/build/builder/build_executor'
23
23
 
24
24
  module PiCustomizer
25
25
  module Builder
26
+
27
+ ##
28
+ # PiBuilder defines abstractly the steps of a build process.
29
+ # However, the concrete orchestration of the build process's steps is done by its sub-classes.
30
+
26
31
  class PiBuilder
27
32
 
28
33
  attr_reader :build_executor
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
 
21
- require 'pi_customizer/builder/builder'
21
+ require 'pi_customizer/build/builder/builder'
22
22
 
23
23
  module PiCustomizer
24
24
  module Builder
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
 
21
- require 'pi_customizer/builder/builder'
21
+ require 'pi_customizer/build/builder/builder'
22
22
 
23
23
  module PiCustomizer
24
24
  module Builder
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -20,7 +20,7 @@
20
20
 
21
21
  require 'fileutils'
22
22
  require 'pi_customizer/utils/logex'
23
- require 'pi_customizer/environment/environment'
23
+ require 'pi_customizer/build/environment/environment'
24
24
 
25
25
  module PiCustomizer
26
26
  module Environment
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -22,6 +22,10 @@ require 'pi_customizer/utils/logex'
22
22
 
23
23
  module PiCustomizer
24
24
  module Environment
25
+
26
+ ##
27
+ # EnvironmentControl defines the build steps that must be supported for a concrete environment
28
+
25
29
  class EnvironmentControl
26
30
 
27
31
  attr_reader :workspace, :config
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -18,15 +18,15 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  # SOFTWARE.
20
20
 
21
- require 'pi_customizer/environment/environment'
22
- require 'pi_customizer/environment/aws/aws'
23
- require 'pi_customizer/environment/vagrant/vagrant'
24
- require 'pi_customizer/environment/docker/docker'
25
- require 'pi_customizer/builder/builder'
26
- require 'pi_customizer/builder/prepare_start_execute_builder'
27
- require 'pi_customizer/builder/start_prepare_execute_builder'
28
- require 'pi_customizer/workspace/remote_workspace'
29
- require 'pi_customizer/workspace/local_workspace'
21
+ require 'pi_customizer/build/environment/environment'
22
+ require 'pi_customizer/build/environment/aws/aws'
23
+ require 'pi_customizer/build/environment/vagrant/vagrant'
24
+ require 'pi_customizer/build/environment/docker/docker'
25
+ require 'pi_customizer/build/builder/builder'
26
+ require 'pi_customizer/build/builder/prepare_start_execute_builder'
27
+ require 'pi_customizer/build/builder/start_prepare_execute_builder'
28
+ require 'pi_customizer/build/workspace/remote_workspace'
29
+ require 'pi_customizer/build/workspace/local_workspace'
30
30
  require 'pi_customizer/utils/logex'
31
31
 
32
32
 
@@ -50,7 +50,7 @@ module PiCustomizer
50
50
  env_builder = Builder::StartExecuteBuilder.new(environment, skip_build_steps)
51
51
  else
52
52
  $logger.warn 'No valid build environment defined!'
53
- env_builder = Builder::PiBuilder.new(environment)
53
+ env_builder = Builder::PiBuilder.new(environment, skip_build_steps)
54
54
  end
55
55
  env_builder
56
56
  end
@@ -30,6 +30,7 @@ $modify = <<SCRIPT
30
30
  cd <%= workspace.workspace_directory %>
31
31
  pi_build_modifier modify <%= config_file_destination %> <%= workspace.workspace_directory %>
32
32
  sudo ./build.sh
33
+ mkdir -p <%= workspace.workspace_directory %>/deploy
33
34
  cp -r <%= workspace.workspace_directory %>/deploy /vagrant
34
35
  echo "Pi Image copied to your local workspace <%= config.workspace_directory.to_s %>"
35
36
  SCRIPT
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -19,9 +19,9 @@
19
19
  # SOFTWARE.
20
20
 
21
21
  require 'fileutils'
22
- require 'pi_customizer/environment/vagrant/vagrant_file'
22
+ require 'pi_customizer/build/environment/vagrant/vagrant_file'
23
+ require 'pi_customizer/build/environment/environment'
23
24
  require 'pi_customizer/utils/logex'
24
- require 'pi_customizer/environment/environment'
25
25
 
26
26
  module PiCustomizer
27
27
  module Environment
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -20,8 +20,8 @@
20
20
 
21
21
  require 'erb'
22
22
  require 'fileutils'
23
- require 'pi_customizer/workspace/remote_workspace'
24
- require 'pi_customizer/workspace/local_workspace'
23
+ require 'pi_customizer/build/workspace/remote_workspace'
24
+ require 'pi_customizer/build/workspace/local_workspace'
25
25
 
26
26
  module PiCustomizer
27
27
  module Environment
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -28,7 +28,7 @@ module PiCustomizer
28
28
  ##
29
29
  # The default path which points to the configuration file
30
30
 
31
- DEFAULT_CONFIG_PATH = File.join(File.dirname(__FILE__), '/../../../resources/config.json')
31
+ DEFAULT_CONFIG_PATH = File.join(File.dirname(__FILE__), '/../../../../resources/config.json')
32
32
 
33
33
  ##
34
34
  # The default directory which is used to store temporary build files, e.g., the Vagrantfile for a build with vagrant
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -24,7 +24,14 @@ require 'pi_customizer/utils/logex'
24
24
  module PiCustomizer
25
25
  module Workspace
26
26
 
27
+ ##
28
+ # the default directory at the build environment where the build sources are cloned to
29
+
27
30
  DEFAULT_REMOTE_WORKSPACE_DIRECTORY = '/build/pi-gen'
31
+
32
+ ##
33
+ # the default directory for the build sources
34
+
28
35
  DEFAULT_GIT_PATH = 'https://github.com/ottenwbe/pi-gen.git'
29
36
 
30
37
  ##
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -23,5 +23,5 @@ module PiCustomizer
23
23
  ##
24
24
  # The current version of the pi_customizer gem
25
25
 
26
- VERSION = '0.2.0-alpha'
26
+ VERSION = '0.3.0-alpha'
27
27
  end
@@ -0,0 +1,67 @@
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the "Software"), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
20
+
21
+ require 'pi_customizer/utils/logex'
22
+
23
+ module PiCustomizer
24
+
25
+ ##
26
+ # ImageWriter writes raspberry pi images to devices (e.g., SD cards)
27
+
28
+ class ImageWriter
29
+
30
+ def initialize()
31
+ @zip_formats = ['.zip']
32
+ @img_formats = ['.img']
33
+ end
34
+
35
+ ##
36
+ # writes zipped (or unzipped) images to a given device
37
+
38
+ def write(image, device)
39
+ dispatch_write(image, device)
40
+ end
41
+
42
+ private def dispatch_write(image, device)
43
+ extension = File.extname(image)
44
+ if @zip_formats.include? extension
45
+ write_zip(image, device)
46
+ elsif @img_formats.include? extension
47
+ write_img(image, device)
48
+ else
49
+ raise 'No valid image format'
50
+ end
51
+ end
52
+
53
+ private def write_zip(image, device)
54
+ run("unzip -p #{image} | dd of=#{device} bs=4M conv=fsync")
55
+ end
56
+
57
+ private def write_img(image, device)
58
+ run("dd if=#{image} of=#{device} bs=4M conv=fsync")
59
+ end
60
+
61
+ private def run(command)
62
+ system command
63
+ end
64
+
65
+ end
66
+ end
67
+
data/lib/pi_customizer.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017 Beate Ottenwälder
1
+ # Copyright (c) 2017-2018 Beate Ottenwälder
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -21,9 +21,10 @@
21
21
  require 'thor'
22
22
  require 'fileutils'
23
23
  require 'pi_customizer/version'
24
- require 'pi_customizer/environment/environment_builder_factory'
25
- require 'pi_customizer/workspace/remote_workspace'
26
- require 'pi_customizer/workspace/local_workspace'
24
+ require 'pi_customizer/build/environment/environment_builder_factory'
25
+ require 'pi_customizer/build/workspace/remote_workspace'
26
+ require 'pi_customizer/build/workspace/local_workspace'
27
+ require 'pi_customizer/write/image_writer'
27
28
  require 'pi_customizer/utils/logex'
28
29
 
29
30
  module PiCustomizer
@@ -34,7 +35,7 @@ module PiCustomizer
34
35
  class PiCustomizer < Thor
35
36
 
36
37
  ##
37
- # The build command can be called by a user to trigger a build of a pi image
38
+ # The build command can be called by a user to trigger a customized build of a pi image
38
39
 
39
40
  desc 'build ENV', 'Build pi image on environment ENV (valid environments are DOCKER, AWS or VAGRANT).'
40
41
  method_option :build_sources_git_url, :default => Workspace::DEFAULT_GIT_PATH, :aliases => '-g'
@@ -44,6 +45,7 @@ module PiCustomizer
44
45
  method_option :modifier_gem, :default => '', :aliases => '-m', :desc => 'Path to the modifier_gem. If not specified, the most recent gem from rubygems.org is downloaded.'
45
46
  method_option :deploy_dir, :default => Dir.getwd, :aliases => '-d'
46
47
  method_option :skip_steps, :type => :array, :aliases => '-s'
48
+
47
49
  def build(env)
48
50
  begin
49
51
  remote_workspace = Workspace::RemoteWorkspace.new("#{options[:remote_workspace_dir]}", "#{options[:build_sources_git_url]}")
@@ -59,8 +61,23 @@ module PiCustomizer
59
61
  # The version command allows users to query for the current version of the pi_customizer gem. It is printed on the command line.
60
62
 
61
63
  desc 'v, version', 'Shows the version number.'
64
+
62
65
  def version
63
66
  puts VERSION
64
67
  end
68
+
69
+ ##
70
+ # Allow uswers to write an image to a SD card
71
+
72
+ desc 'write IMAGE DEVICE', 'Write an image to a device.'
73
+
74
+ def write_image(image, device)
75
+ begin
76
+ ImageWriter.new().write(image, device)
77
+ rescue Exception => e
78
+ $logger.error e.message
79
+ end
80
+ end
81
+
65
82
  end
66
83
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pi_customizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.alpha
4
+ version: 0.3.0.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beate Ottenwälder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2018-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,26 +112,25 @@ files:
112
112
  - envs/aws/pi-build-env.tf
113
113
  - envs/aws/variables.tf
114
114
  - envs/docker/Dockerfile
115
- - envs/pi_build_modifier.gem
116
115
  - envs/sh/build-pi-img.sh
117
116
  - lib/pi_customizer.rb
118
- - lib/pi_customizer/builder/build_executor.rb
119
- - lib/pi_customizer/builder/builder.rb
120
- - lib/pi_customizer/builder/prepare_start_execute_builder.rb
121
- - lib/pi_customizer/builder/start_prepare_execute_builder.rb
122
- - lib/pi_customizer/environment/aws/aws.rb
123
- - lib/pi_customizer/environment/docker/docker.rb
124
- - lib/pi_customizer/environment/environment.rb
125
- - lib/pi_customizer/environment/environment_builder_factory.rb
126
- - lib/pi_customizer/environment/vagrant/templates/Vagrantfile.erb
127
- - lib/pi_customizer/environment/vagrant/vagrant.rb
128
- - lib/pi_customizer/environment/vagrant/vagrant_file.rb
117
+ - lib/pi_customizer/build/builder/build_executor.rb
118
+ - lib/pi_customizer/build/builder/builder.rb
119
+ - lib/pi_customizer/build/builder/prepare_start_execute_builder.rb
120
+ - lib/pi_customizer/build/builder/start_prepare_execute_builder.rb
121
+ - lib/pi_customizer/build/environment/aws/aws.rb
122
+ - lib/pi_customizer/build/environment/docker/docker.rb
123
+ - lib/pi_customizer/build/environment/environment.rb
124
+ - lib/pi_customizer/build/environment/environment_builder_factory.rb
125
+ - lib/pi_customizer/build/environment/vagrant/templates/Vagrantfile.erb
126
+ - lib/pi_customizer/build/environment/vagrant/vagrant.rb
127
+ - lib/pi_customizer/build/environment/vagrant/vagrant_file.rb
128
+ - lib/pi_customizer/build/workspace/local_workspace.rb
129
+ - lib/pi_customizer/build/workspace/remote_workspace.rb
129
130
  - lib/pi_customizer/utils/logex.rb
130
131
  - lib/pi_customizer/version.rb
131
- - lib/pi_customizer/workspace/local_workspace.rb
132
- - lib/pi_customizer/workspace/remote_workspace.rb
132
+ - lib/pi_customizer/write/image_writer.rb
133
133
  - pi_customizer.gemspec
134
- - resources/config.json
135
134
  homepage: https://github.com/ottenwbe/pi-gen-environment.git
136
135
  licenses:
137
136
  - MIT
@@ -152,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
151
  version: 1.3.1
153
152
  requirements: []
154
153
  rubyforge_project:
155
- rubygems_version: 2.6.13
154
+ rubygems_version: 2.7.6
156
155
  signing_key:
157
156
  specification_version: 4
158
157
  summary: The pi_customizer gem!
Binary file
@@ -1,12 +0,0 @@
1
- {
2
- "system": {
3
- "name" : "custompi",
4
- "type" : "lite"
5
- },
6
- "ssh" : {
7
- "enabled" : true
8
- },
9
- "wifi": {
10
- "wpa_country": "DE"
11
- }
12
- }