lib/getch/gentoo/bootloader.rb in getch-0.3.5 vs lib/getch/gentoo/bootloader.rb in getch-0.3.6

- old
+ new

@@ -29,18 +29,18 @@ end def bootctl @boot ? with_boot : - Chroot.new("bootctl --path #{@esp} install") + Chroot.new("bootctl --esp-path=#{@esp} install") end # We need to umount the encrypted /boot first # https://github.com/systemd/systemd/issues/16151 def with_boot boot = @encrypt ? '/dev/mapper/boot-luks' : "/dev/#{DEVS[:boot]}" NiTo.umount "#{OPTIONS[:mountpoint]}/boot" - Chroot.new("bootctl --path #{@esp} install") + Chroot.new("bootctl --esp-path=#{@esp} install") NiTo.mount boot, "#{OPTIONS[:mountpoint]}/boot" end end end end