os-prober: call dmraid -r *once*
authorJeff Mahoney <jeffm@suse.com>
Thu, 19 Jan 2017 21:43:11 +0000 (21:43 +0000)
committerColin Watson <cjwatson@debian.org>
Thu, 19 Jan 2017 21:43:11 +0000 (21:43 +0000)
commit9d89a52514897014df8c9d7c62a2985708bec618
tree0c88f45be8ecfb2e9832cbbce5cfdf67beecbf03
parentc8d5da3cebc200633b0fca778a01f3833ac86030
os-prober: call dmraid -r *once*

os-prober calls dmraid -r -c unqualifed for every partition and then greps
the result. dmraid -r -c without a device list will scan every device
on the system. Every time. The results will not differ between runs.

This patch saves the results and performs the grep afterward.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Tweaked-by: Colin Watson <cjwatson@debian.org>
debian/changelog
os-prober