Blame augeas-0.9.0-03-59d5c537.patch
|
Matthew Booth |
00c1a6 |
commit 59d5c537fe4ada10c0f1806716656ee6392f651c
|
|
Matthew Booth |
00c1a6 |
Author: Raphaƫl Pinson <raphink@gmail.com>
|
|
Matthew Booth |
00c1a6 |
Date: Tue Nov 22 22:28:11 2011 +0100
|
|
Matthew Booth |
00c1a6 |
|
|
Matthew Booth |
00c1a6 |
mdadm.aug: dev_device cannot match dev_partitions_re
|
|
Matthew Booth |
00c1a6 |
|
|
Matthew Booth |
00c1a6 |
diff --git a/lenses/mdadm_conf.aug b/lenses/mdadm_conf.aug
|
|
Matthew Booth |
00c1a6 |
index 1193c13..2f20158 100644
|
|
Matthew Booth |
00c1a6 |
--- a/lenses/mdadm_conf.aug
|
|
Matthew Booth |
00c1a6 |
+++ b/lenses/mdadm_conf.aug
|
|
Matthew Booth |
00c1a6 |
@@ -75,7 +75,7 @@ let dev_partitions_re = /partitions/i
|
|
Matthew Booth |
00c1a6 |
|
|
Matthew Booth |
00c1a6 |
let dev_containers = [ del dev_containers_re "containers" . label "containers" ]
|
|
Matthew Booth |
00c1a6 |
let dev_partitions = [ del dev_partitions_re "partitions" . label "partitions" ]
|
|
Matthew Booth |
00c1a6 |
-let dev_device = [ label "name". store ( value - dev_containers_re) ]
|
|
Matthew Booth |
00c1a6 |
+let dev_device = [ label "name". store ( value - dev_containers_re - dev_partitions_re) ]
|
|
Matthew Booth |
00c1a6 |
|
|
Matthew Booth |
00c1a6 |
(* Strictly there must be at least 1 device, but we err on the side of parsing
|
|
Matthew Booth |
00c1a6 |
*)
|