creating raw images for QEMU

This commit is contained in:
Artur Gurgul 2025-08-11 14:18:59 +02:00
parent 3b9e0a1f33
commit 49cc960703
13 changed files with 164 additions and 17 deletions

View file

@ -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