pi_customizer 0.1.2.pre.alpha → 0.1.4.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
2
  SHA1:
3
- metadata.gz: 82107bf6c11e36cecbd418fa1f81ca000de390ae
4
- data.tar.gz: f7b844fbbbc25d3f55734016b7da402140046327
3
+ metadata.gz: 2f22814106adaddd0cd806cdc356b3f6b1376d0d
4
+ data.tar.gz: da99acadd816e61c4ee79aaa7e65400e35dfed21
5
5
  SHA512:
6
- metadata.gz: 2566295f0a85408526a356f5e481e9a14f915e7969464300abfa6411a0230e1e3b2b0039bb65756916b355b7862cdf064ccab7ce8909e3f9492bf650926db954
7
- data.tar.gz: '0480eb4e02291f2a3a0a6c4151f01de65e4031ee0416474148d713e0cc938f8c9a85c3e031fa1aa520e5be70a94c0e8ad9c343c981149e5e9653984f6f92cdac'
6
+ metadata.gz: 0631d7e7c5a7e37ac35c71244c117736960d2d6aa52e425a3ceacc338d63e68f85b924ac026c1bf1a116be27d59e8f7f6a351f96b796e813a2194bfb20f11f11
7
+ data.tar.gz: dc51f4b8eead231045b1aba686f11164359c5a0d8cd01cd3d2ada3389f4c54fa3f182db33bc550f4af3d51b7753fd57a0c37f1d683429d839f280c1dd9182650
@@ -27,6 +27,9 @@ module PiCustomizer
27
27
  class AWS < EnvironmentControl
28
28
 
29
29
  def build
30
+
31
+ puts 'NOTE: AWS is not yet officially supported!'
32
+
30
33
  create_ssh_folder
31
34
  create_keys
32
35
  begin
@@ -29,6 +29,9 @@ module PiCustomizer
29
29
  CONFIG_PATH_IN_DOCKER = '/config'
30
30
 
31
31
  def check
32
+
33
+ puts 'NOTE: Docker is not yet officially supported!'
34
+
32
35
  $logger.info '[Check | Docker] Pre-flight checks are executing...'
33
36
  ensure_docker
34
37
  end
@@ -23,5 +23,5 @@ module PiCustomizer
23
23
  ##
24
24
  # The current version of the pi_customizer gem
25
25
 
26
- VERSION = '0.1.2-alpha'
26
+ VERSION = '0.1.4-alpha'
27
27
  end
@@ -27,5 +27,4 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency 'simplecov', '~> 0.15'
28
28
  spec.add_development_dependency 'rdoc', '~> 5.1'
29
29
  spec.add_runtime_dependency 'thor', '~> 0.20'
30
- spec.add_runtime_dependency 'json', '~> 2.1'
31
30
  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.1.2.pre.alpha
4
+ version: 0.1.4.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-13 00:00:00.000000000 Z
11
+ date: 2017-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.20'
97
- - !ruby/object:Gem::Dependency
98
- name: json
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '2.1'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '2.1'
111
97
  description: The pi_customizer gem allows you to adapt Raspbian images to your needs!
112
98
  email: ottenwbe.public@gmail.com
113
99
  executables:
@@ -127,10 +113,8 @@ files:
127
113
  - envs/aws/variables.tf
128
114
  - envs/config.json
129
115
  - envs/docker/Dockerfile
130
- - envs/pi_build_modifier-0.1.0.gem
131
116
  - envs/pi_build_modifier.gem
132
117
  - envs/sh/build-pi-img.sh
133
- - envs/vagrant/Vagrantfile
134
118
  - lib/pi_customizer.rb
135
119
  - lib/pi_customizer/builder/builder.rb
136
120
  - lib/pi_customizer/builder/prepare_start_execute_builder.rb
Binary file
@@ -1,56 +0,0 @@
1
- # -*- mode: ruby -*-
2
- # vi: set ft=ruby :
3
-
4
- require 'fileutils'
5
-
6
- $dependencies = <<SCRIPT
7
- sudo apt update
8
- sudo apt -y upgrade
9
- sudo apt -y install quilt parted qemu-user-static debootstrap zerofree pxz zip dosfstools libcap2-bin bsdtar
10
- sudo apt -y install git curl ruby-full
11
- SCRIPT
12
-
13
- $prepare = <<SCRIPT
14
- # install gem
15
- if [ -f "pi_build_modifier.gem" ]; then
16
- echo "Gem exists"
17
- else
18
- gem install --local pi_build_modifier.gem
19
- end
20
- mkdir /build/pi-gen
21
- if [ -f "/build/pi-gen" ]; then
22
- git clone https://github.com/ottenwbe/pi-gen.git /build/pi-gen
23
- else
24
- git pull https://github.com/ottenwbe/pi-gen.git -r
25
- end
26
- SCRIPT
27
-
28
- $modify = <<SCRIPT
29
- # Execute gem with parameters
30
- pi_build_modifier ~/conf.json
31
- SCRIPT
32
-
33
- Vagrant.configure('2') do |config|
34
-
35
- config.vm.box = 'debian/stretch64'
36
- config.disksize.size = '20GB'
37
-
38
- # Prepare environment by updating the dependencies
39
- config.vm.provision 'shell', inline: $dependencies
40
-
41
- # Copy config file
42
- config.vm.provision "file", source: "conf.json", destination: "~/conf.json"
43
-
44
- if File.exists? pi_build_modifier.gem
45
- config.vm.provision "file", source: "pi_build_modifier.gem", destination: "~/pi_build_modifier.gem"
46
- else
47
- raise 'Config file cannot be found!'
48
- end
49
-
50
- # Actually modify and build
51
- config.vm.provision 'shell', inline: $prepare
52
-
53
- # Actually modify the build sources and build the environment
54
- config.vm.provision 'shell', inline: $modify
55
-
56
- end