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

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +16 lines)
Line  Link Here
0
-- a/linux-boot-probes/mounted/common/40grub2
0
++ b/linux-boot-probes/mounted/common/40grub2
Lines 78-88 Link Here
78
				fi
78
				fi
79
			;;
79
			;;
80
			initrd|initrdefi|initrd16)
80
			initrd|initrdefi|initrd16)
81
				initrd="$(echo "$2" | sed 's/(.*)//')"
81
				shift
82
				# Initrd same.
82
				initrd=""
83
				if [ "$partition" != "$bootpart" -a "$type" != "btrfs" ]; then
83
				for initrd_path in "$@"; do
84
					initrd="/boot$initrd"
84
					# sed hack, as above
85
				fi
85
					initrd_path="$(echo "$initrd_path" | sed 's/(.*)//')"
86
					# Initrd same.
87
					if [ "$partition" != "$bootpart" ]; then
88
						initrd_path="/boot$initrd_path"
89
					fi
90
					if [ -z "$initrd" ]; then
91
						initrd="$initrd_path"
92
					else
93
						initrd="$initrd $initrd_path"
94
					fi
95
				done
86
			;;
96
			;;
87
			"}")
97
			"}")
88
				entry_result
98
				entry_result

Return to bug 817905