apiotics 0.2.9 → 0.2.10
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 +4 -4
- data/lib/apiotics/hardware.rb +2 -0
- data/lib/apiotics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f232ca8929a719f9f538a8fa8b273b1f22264c96
|
|
4
|
+
data.tar.gz: d399c712d1a719864fd363d49893abe9c38b0f3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb9740e865aab7f49012a2348f75844d9a90e8899675ee7eaccf8bbf01ebb5e41865f4eb73fffe7b5e12cf5bd261de2a80c0989240c0a8dc198c935a179a746c
|
|
7
|
+
data.tar.gz: d566bf8c70db4d021929f6ecc4e8d5afa66ceb66e35062c9a716323c41412a1090caac2e7f97ba5f168d44a570591afeb32a6a6e51e1c6bf4187b83c48c05d18
|
data/lib/apiotics/hardware.rb
CHANGED
|
@@ -382,6 +382,7 @@ module Apiotics
|
|
|
382
382
|
|
|
383
383
|
def self.brand_sd_image(download_directory, image_path, wifi_settings, config_file_path)
|
|
384
384
|
status = false
|
|
385
|
+
Dir.chdir download_directory
|
|
385
386
|
branding_script_path = nil
|
|
386
387
|
if Hardware.mac == true
|
|
387
388
|
branding_script_path = "#{download_directory}/brand_image.mac.sh"
|
|
@@ -430,6 +431,7 @@ module Apiotics
|
|
|
430
431
|
end
|
|
431
432
|
|
|
432
433
|
def self.burn_sd_image(download_directory, image_path, disk)
|
|
434
|
+
Dir.chdir download_directory
|
|
433
435
|
img_path = image_path.chomp(".img.gz") + "_branded.img.gz"
|
|
434
436
|
puts "Burning #{image_path} to #{disk}..."
|
|
435
437
|
if Hardware.mac == true
|
data/lib/apiotics/version.rb
CHANGED