Skip to content

Commit

Permalink
move #stage1 method into Grub2Base
Browse files Browse the repository at this point in the history
That is needed as ProposalClient expects a unified view of the bootloader
class it works on.
  • Loading branch information
wfeldt committed Feb 28, 2020
1 parent 9d9ca8e commit b02f3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/bootloader/grub2.rb
Expand Up @@ -16,7 +16,6 @@
module Bootloader
# Represents non-EFI variant of GRUB2
class Grub2 < Grub2Base
attr_reader :stage1
attr_reader :device_map

def initialize
Expand Down
2 changes: 2 additions & 0 deletions src/lib/bootloader/grub2base.rb
Expand Up @@ -54,6 +54,8 @@ class Grub2Base < BootloaderBase
# @return [::Bootloader::SerialConsole] serial console or nil if none
attr_reader :console

attr_reader :stage1

def initialize
super

Expand Down

0 comments on commit b02f3e7

Please sign in to comment.