On 01/07/2015 02:49 PM, wiley.coyote wrote:
> The patch above wasn't catching cases of *$check_abstraction*, so I
> added that in.  My patch is attached.

Loosing the double quotes when assigning ABSTRACTION would avoid
catching any surrounding spaces. Also, it's possible to drop the for
loop and the case by using a bit of grep:

ABSTRACTION=$(grub-probe --target=abstraction "${grubdir}" | grep -xm1
'raid\|lvm')
[ -n "$ABSTRACTION" ] && skip_recordfail=$ABSTRACTION

Be warned, the above code was not tested :)

HTH,
Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1274320

Title:
  Error: diskfilter writes are not supported

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1274320/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to