Accepting request 234352 from devel:libraries:c_c++
Find device.map in any dir beneath /boot (bnc#875086) (forwarded request 234345 from mlatimer) OBS-URL: https://build.opensuse.org/request/show/234352 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=34
This commit is contained in:
commit
c714f770a6
16
augeas-device_map-grub2.patch
Normal file
16
augeas-device_map-grub2.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Look for device.map in any directory beneath /boot. (This is required
|
||||
to find device.map in /boot/grub2 in addition to /boot/grub.)
|
||||
|
||||
Index: augeas-1.1.0/lenses/device_map.aug
|
||||
===================================================================
|
||||
--- augeas-1.1.0.orig/lenses/device_map.aug
|
||||
+++ augeas-1.1.0/lenses/device_map.aug
|
||||
@@ -21,7 +21,7 @@ module Device_map =
|
||||
|
||||
let lns = ( empty | comment | map ) *
|
||||
|
||||
- let xfm = transform lns (incl "/boot/grub/device.map")
|
||||
+ let xfm = transform lns (incl "/boot/*/device.map")
|
||||
|
||||
(* Local Variables: *)
|
||||
(* mode: caml *)
|
@ -86,6 +86,12 @@ Tue May 6 11:04:57 UTC 2014 - tchvatal@suse.com
|
||||
Permit spaces after equals sign in list options, GH issue #45
|
||||
Split excludes as lists, bug #275
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 15:55:05 UTC 2014 - mlatimer@suse.com
|
||||
|
||||
- device_map lense: Find device.map in any dir beneath /boot (bnc#875086)
|
||||
augeas-device_map-grub2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 13 12:29:08 UTC 2013 - meissner@suse.com
|
||||
|
||||
|
@ -29,6 +29,7 @@ Source1: http://download.augeas.net/augeas-%{version}.tar.gz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
Patch0: augeas-modprobe-lense.patch
|
||||
Patch1: augeas-device_map-grub2.patch
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: readline-devel
|
||||
@ -100,6 +101,7 @@ modifying the official lenses, or when creating new ones.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="-Wno-error %{optflags}"
|
||||
|
Loading…
Reference in New Issue
Block a user