Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 468942 | Differences between
and this patch

Collapse All | Expand All

(-)gen_initramfs.sh-orig-2 (-1 / +2 lines)
Lines 277-283 Link Here
277
	mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/"
277
	mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/"
278
	print_info 1 'LVM: Adding support (copying binaries from system)...'
278
	print_info 1 'LVM: Adding support (copying binaries from system)...'
279
279
280
	udev_files=( $(qlist -e sys-fs/lvm2:0 | grep ^/lib/udev/rules.d) )
280
	local udev_dir="$(pkg-config --variable udevdir udev)"
281
	udev_files=( $(qlist -e sys-fs/lvm2:0 | grep ^${udev_dir}/rules.d) )
281
	for f in "${udev_files[@]}"; do
282
	for f in "${udev_files[@]}"; do
282
		[ -f "${f}" ] || gen_die "append_lvm: not a file: ${f}"
283
		[ -f "${f}" ] || gen_die "append_lvm: not a file: ${f}"
283
		mkdir -p "${TEMP}/initramfs-lvm-temp"/$(dirname "${f}") || \
284
		mkdir -p "${TEMP}/initramfs-lvm-temp"/$(dirname "${f}") || \

Return to bug 468942