creating raw images for QEMU
This commit is contained in:
parent
3b9e0a1f33
commit
49cc960703
13 changed files with 164 additions and 17 deletions
|
|
@ -1,5 +1,7 @@
|
|||
require_relative('system/architecture')
|
||||
|
||||
module System
|
||||
|
||||
def self.detect_os
|
||||
case RUBY_PLATFORM
|
||||
when /darwin/
|
||||
|
|
@ -29,7 +31,13 @@ module System
|
|||
raise "Operating system not supported"
|
||||
end
|
||||
|
||||
ARCH = normalize_architecture_string(arch)
|
||||
|
||||
def self.os_info
|
||||
puts os_name
|
||||
end
|
||||
|
||||
def self.arch_to_symbol(arch)
|
||||
normalize_architecture_string(arch)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue