mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-boot/grub: add 'protect' USE flag
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -84,7 +84,7 @@ SRC_URI+="
|
||||
# Includes licenses for dejavu and unifont
|
||||
LICENSE="GPL-3+ BSD MIT fonts? ( GPL-2-with-font-exception ) themes? ( CC-BY-SA-3.0 BitstreamVera )"
|
||||
SLOT="2/${PVR}"
|
||||
IUSE="+device-mapper doc efiemu +fonts mount nls sdl test +themes truetype libzfs"
|
||||
IUSE="+device-mapper doc efiemu +fonts mount nls protect sdl test +themes truetype libzfs"
|
||||
|
||||
GRUB_ALL_PLATFORMS=( coreboot efi-32 efi-64 emu ieee1275 loongson multiboot
|
||||
qemu qemu-mips pc uboot xen xen-32 xen-pvh )
|
||||
@@ -135,6 +135,7 @@ DEPEND="
|
||||
truetype? ( media-libs/freetype:2= )
|
||||
ppc? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
|
||||
ppc64? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
|
||||
protect? ( dev-libs/libtasn1:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
kernel_linux? (
|
||||
@@ -232,6 +233,7 @@ grub_configure() {
|
||||
$(use_enable device-mapper)
|
||||
$(use_enable mount grub-mount)
|
||||
$(use_enable nls)
|
||||
$(use_enable protect grub-protect)
|
||||
$(use_enable themes grub-themes)
|
||||
$(use_enable truetype grub-mkfont)
|
||||
$(use_enable libzfs)
|
||||
@@ -83,7 +83,7 @@ SRC_URI+="
|
||||
# Includes licenses for dejavu and unifont
|
||||
LICENSE="GPL-3+ BSD MIT fonts? ( GPL-2-with-font-exception ) themes? ( CC-BY-SA-3.0 BitstreamVera )"
|
||||
SLOT="2/${PVR}"
|
||||
IUSE="+device-mapper doc efiemu +fonts mount nls sdl test +themes truetype libzfs"
|
||||
IUSE="+device-mapper doc efiemu +fonts mount nls protect sdl test +themes truetype libzfs"
|
||||
|
||||
GRUB_ALL_PLATFORMS=( coreboot efi-32 efi-64 emu ieee1275 loongson multiboot
|
||||
qemu qemu-mips pc uboot xen xen-32 xen-pvh )
|
||||
@@ -134,6 +134,7 @@ DEPEND="
|
||||
truetype? ( media-libs/freetype:2= )
|
||||
ppc? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
|
||||
ppc64? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
|
||||
protect? ( dev-libs/libtasn1:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
kernel_linux? (
|
||||
@@ -231,6 +232,7 @@ grub_configure() {
|
||||
$(use_enable device-mapper)
|
||||
$(use_enable mount grub-mount)
|
||||
$(use_enable nls)
|
||||
$(use_enable protect grub-protect)
|
||||
$(use_enable themes grub-themes)
|
||||
$(use_enable truetype grub-mkfont)
|
||||
$(use_enable libzfs)
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<flag name="libzfs">
|
||||
Enable support for <pkg>sys-fs/zfs</pkg>
|
||||
</flag>
|
||||
<flag name="protect">Build and install the grub-protect utility</flag>
|
||||
<flag name="themes">Build and install GRUB themes (starfield)</flag>
|
||||
<flag name="truetype">Build and install grub-mkfont conversion utility</flag>
|
||||
</use>
|
||||
|
||||
Reference in New Issue
Block a user