We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506b42e commit 3be5607Copy full SHA for 3be5607
mrbgems/picoruby-shell/mrblib/shell.rb
@@ -43,6 +43,7 @@ def self.setup_system_files(root = nil, force: false)
43
Dir.chdir(root || "/") do
44
%w(bin lib var home etc etc/init.d etc/network).each do |dir|
45
Dir.mkdir(dir) unless Dir.exist?(dir)
46
+ sleep_ms 100
47
end
48
while exe = Shell.next_executable
49
path = "#{root}#{exe[:path]}"
@@ -51,6 +52,7 @@ def self.setup_system_files(root = nil, force: false)
51
52
f.expand exe[:code].length if f.respond_to? :expand
53
f.write exe[:code]
54
f.close
55
56
57
58
path = "#{root}/etc/machine-id"
0 commit comments