lib/getch/filesystem/lvm/encrypt/mount.rb in getch-0.1.6 vs lib/getch/filesystem/lvm/encrypt/mount.rb in getch-0.1.9
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Getch
module FileSystem
module Lvm
module Encrypt
class Mount < Device
@@ -9,9 +11,10 @@
@state = Getch::States.new
end
def run
return if STATES[:mount]
+
@mount.root(@lv_root)
@mount.boot(@dev_boot)
@mount.esp(@dev_esp)
@mount.home(@lv_home)
@state.mount