[PATCH 2/2] Fix blkid output parsing and our output

Brian C. Lane bcl at redhat.com
Wed Feb 12 15:58:02 UTC 2014


On Wed, Feb 12, 2014 at 12:17:59PM +0100, Vratislav Podzimek wrote:
> There are different fields in the bklid output in the early dracut stage. Also
> our output should work with RAID/LMV members long type.
> 
> Related: rhbz#1036765
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  dracut/driver-updates | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)
> 
> diff --git a/dracut/driver-updates b/dracut/driver-updates
> index c4d6b15..46152b7 100755
> --- a/dracut/driver-updates
> +++ b/dracut/driver-updates
> @@ -601,15 +601,15 @@ def network_driver(dd_path):
>      dd_scan(skip_dds, False)

Ack. I like that form for regexes, makes it much easier to parse.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list