Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 830655 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +4 lines)
Line  Link Here
0
-- a/linux-boot-prober
0
++ b/linux-boot-prober
Lines 17-23 Link Here
17
bootsv=
17
bootsv=
18
bootuuid=
18
bootuuid=
19
19
20
grep "^/dev/" /proc/mounts | parse_proc_mounts >"$OS_PROBER_TMP/mounted-map" || true
20
grep -P '^/dev/(?!root\s)' /proc/mounts | parse_proc_mounts >"$OS_PROBER_TMP/mounted-map" || true
21
21
22
if [ -z "$1" ]; then
22
if [ -z "$1" ]; then
23
	ERR=y
23
	ERR=y
24
-- a/os-prober
24
++ b/os-prober
Lines 128-134 Link Here
128
128
129
# We need to properly canonicalize partitions with mount points and partitions
129
# We need to properly canonicalize partitions with mount points and partitions
130
# used in RAID
130
# used in RAID
131
grep "^/dev/" /proc/mounts | parse_proc_mounts >"$OS_PROBER_TMP/mounted-map" || true
131
grep -P '^/dev/(?!root\s)' /proc/mounts | parse_proc_mounts >"$OS_PROBER_TMP/mounted-map" || true
132
: >"$OS_PROBER_TMP/swaps-map"
132
: >"$OS_PROBER_TMP/swaps-map"
133
if [ -f /proc/swaps ]; then
133
if [ -f /proc/swaps ]; then
134
	grep "^/dev/" /proc/swaps | parse_proc_swaps >"$OS_PROBER_TMP/swaps-map" || true
134
	grep "^/dev/" /proc/swaps | parse_proc_swaps >"$OS_PROBER_TMP/swaps-map" || true

Return to bug 830655