mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
sys-block/sas3flash: rename USE=efi to USE=uefi
Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
parent
02db66a1bf
commit
d6273a925f
@ -6,6 +6,6 @@
|
|||||||
<name>Zac Medico</name>
|
<name>Zac Medico</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="efi">Install EFI variant as well</flag>
|
<flag name="uefi">Install UEFI variant as well</flag>
|
||||||
</use>
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit mount-boot secureboot
|
inherit mount-boot secureboot
|
||||||
|
|
||||||
DESCRIPTION="Flash utility for LSI MPT-SAS3 controller"
|
DESCRIPTION="Flash utility for LSI MPT-SAS3 controller"
|
||||||
@ -10,7 +11,7 @@ HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8
|
|||||||
LICENSE="LSI"
|
LICENSE="LSI"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~x64-solaris"
|
KEYWORDS="~amd64 ~ppc64 ~x86 ~x64-solaris"
|
||||||
IUSE="doc efi"
|
IUSE="doc uefi"
|
||||||
|
|
||||||
RESTRICT="strip fetch mirror"
|
RESTRICT="strip fetch mirror"
|
||||||
BDEPEND="app-arch/unzip"
|
BDEPEND="app-arch/unzip"
|
||||||
@ -31,7 +32,7 @@ SRC_URI="
|
|||||||
x86? ( ${SRC_URI_LINUX} )
|
x86? ( ${SRC_URI_LINUX} )
|
||||||
ppc64? ( ${SRC_URI_LINUX} )
|
ppc64? ( ${SRC_URI_LINUX} )
|
||||||
x64-solaris? ( ${SRC_URI_SOLARIS} )
|
x64-solaris? ( ${SRC_URI_SOLARIS} )
|
||||||
efi? ( ${SRC_URI_UEFI} )
|
uefi? ( ${SRC_URI_UEFI} )
|
||||||
doc? ( "${SRC_URI_BASE}/oracle/files/${DISTFILE_DOC}" )"
|
doc? ( "${SRC_URI_BASE}/oracle/files/${DISTFILE_DOC}" )"
|
||||||
|
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
@ -48,7 +49,7 @@ pkg_nofetch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
use efi && secureboot_pkg_setup
|
use uefi && secureboot_pkg_setup
|
||||||
}
|
}
|
||||||
|
|
||||||
supportedcards() {
|
supportedcards() {
|
||||||
@ -86,7 +87,7 @@ src_install() {
|
|||||||
DOCS+=( Installer_P"${PV}"_for_Solaris/README_Installer_P"${PV}"_Solaris.txt )
|
DOCS+=( Installer_P"${PV}"_for_Solaris/README_Installer_P"${PV}"_Solaris.txt )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if use efi; then
|
if use uefi; then
|
||||||
exeinto /boot/efi/
|
exeinto /boot/efi/
|
||||||
DOCS+=( Installer_P"${PV}"_for_UEFI/README_Installer_P"${PV}"_UEFI.txt )
|
DOCS+=( Installer_P"${PV}"_for_UEFI/README_Installer_P"${PV}"_UEFI.txt )
|
||||||
if use amd64; then
|
if use amd64; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user