From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A386A13877A for ; Tue, 15 Jul 2014 07:27:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1306E08E1; Tue, 15 Jul 2014 07:27:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E9D0E08DC for ; Tue, 15 Jul 2014 07:27:09 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64B0A33EECB for ; Tue, 15 Jul 2014 07:27:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id CFD1C193E5 for ; Tue, 15 Jul 2014 07:27:06 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1405409214.6395682f9978a5d8e49a65123c0dd6604cfb0073.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 6395682f9978a5d8e49a65123c0dd6604cfb0073 X-VCS-Branch: master Date: Tue, 15 Jul 2014 07:27:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 18dfeabf-94d2-439e-b539-28cc82d2b314 X-Archives-Hash: 6b3b5c6a4486a6243a70ab73ae7a77db commit: 6395682f9978a5d8e49a65123c0dd6604cfb0073 Author: Robin H. Johnson gentoo org> AuthorDate: Tue Jul 15 07:26:49 2014 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Jul 15 07:26:54 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=6395682f Bug #468760: mpath_prio_* tools needed sometimes. Patch by Ian Stakenvicius gentoo.org>. Signed-off-by: Robin H. Johnson gentoo.org> --- gen_initramfs.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 90a6547..b9ff518 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -257,6 +257,13 @@ append_multipath(){ /sbin/{multipath,kpartx,mpath_prio_*,devmap_name,dmsetup} \ /{lib,lib64}/{udev/scsi_id,multipath/*so} + # Support multipath-tools-0.4.8 and previous + if [ -x /sbin/mpath_prio_* ] + then + copy_binaries "${TEMP}/initramfs-multipath-temp" \ + /sbin/mpath_prio_* + fi + if [ -x /sbin/multipath ] then cp /etc/multipath.conf "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy /etc/multipath.conf please check this'