Skip to content

Commit

Permalink
Merge pull request #7 from config-files-api/fix_device_map
Browse files Browse the repository at this point in the history
fix device map path
  • Loading branch information
jreidinger committed Mar 24, 2016
2 parents fe61ec5 + fcf33f5 commit c86e8f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 24 12:43:34 UTC 2016 - jreidinger@suse.com

- fix path to device.map in its model
- 0.3.3

-------------------------------------------------------------------
Thu Mar 24 09:30:35 UTC 2016 - jreidinger@suse.com

Expand Down
2 changes: 1 addition & 1 deletion cfa_grub2.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "cfa_grub2"
s.version = "0.3.2"
s.version = "0.3.3"
s.platform = Gem::Platform::RUBY
s.authors = ["Josef Reidinger"]
s.email = ["jreidinger@suse.cz"]
Expand Down
4 changes: 2 additions & 2 deletions lib/cfa/grub2/device_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module CFA
module Grub2
# Represents grub device map in /etc/grub2/device_map
# Represents grub device map in /boot/grub2/device_map
# for details see https://www.gnu.org/software/grub/manual/html_node/Device-map.html
# Main features:
#
Expand All @@ -17,7 +17,7 @@ module Grub2
# device.
class DeviceMap < BaseModel
PARSER = AugeasParser.new("device_map.lns")
PATH = "/etc/grub2/device.map".freeze
PATH = "/boot/grub2/device.map".freeze

def initialize(file_handler: nil)
super(PARSER, PATH, file_handler: file_handler)
Expand Down

0 comments on commit c86e8f0

Please sign in to comment.