OSDN Git Service
(root)
/
osdn-codes
/
image-creator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2302b0
)
Erace udev masking.
author
Tatsuki Sugiura
<sugi@nemui.org>
Tue, 24 Sep 2019 11:29:20 +0000
(20:29 +0900)
committer
Tatsuki Sugiura
<sugi@nemui.org>
Tue, 24 Sep 2019 11:29:29 +0000
(20:29 +0900)
create-image
patch
|
blob
|
history
diff --git
a/create-image
b/create-image
index
8bf0092
..
e9d3a58
100755
(executable)
--- a/
create-image
+++ b/
create-image
@@
-128,6
+128,8
@@
class ImageCreator
system("mount", di.device, "#{dir}#{di.path}") or raise "Failed to mount #{di.device} to #{dir}#{path}"
end
+ system "rm", "-f", "#{dir}/etc/systemd/system/udev.service", "#{dir}/etc/systemd/system/systemd-udevd.service"
+
puts "Rewrite fstab..."
File.open "#{dir}/etc/fstab", "w" do |f|
devices.map.with_index { |d, idx|