Сравнение memtest86+-6.20 с memtest86+-6.20-r1
/usr/portage/sys-apps/memtest86+/memtest86+-6.20-r1.ebuild 2023-10-09 14:52:35.388368499 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit mount-boot toolchain-funcs |
|
6 |
inherit mount-boot secureboot toolchain-funcs |
|
7 | 7 | |
8 | 8 |
MY_PV=${PV/_/-} |
9 | 9 | |
... | ... | |
13 | 13 | |
14 | 14 |
LICENSE="GPL-2" |
15 | 15 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~x86" |
|
16 |
KEYWORDS="amd64 x86" |
|
17 | 17 |
IUSE="bios32 bios64 +boot efi32 efi64 iso32 iso64" |
18 | 18 | |
19 | 19 |
ISODEPS=" |
... | ... | |
28 | 28 | |
29 | 29 |
S=${WORKDIR}/memtest86plus-${MY_PV} |
30 | 30 | |
31 |
pkg_setup() { |
|
32 |
if use efi32 || use efi64; then |
|
33 |
secureboot_pkg_setup |
|
34 |
fi |
|
35 |
} |
|
36 | ||
31 | 37 |
src_prepare() { |
32 | 38 |
sed -i \ |
33 | 39 |
-e 's#/sbin/mkdosfs#mkfs.vfat#' \ |
... | ... | |
75 | 81 |
install_memtest_images |
76 | 82 |
use iso32 && newins build32/memtest.iso memtest32.iso |
77 | 83 |
use iso64 && newins build64/memtest.iso memtest64.iso |
84 | ||
85 |
if use efi32 || use efi64; then |
|
86 |
secureboot_auto_sign --in-place |
|
87 |
fi |
|
88 |
} |
|
89 | ||
90 |
pkg_pretend() { |
|
91 |
use boot && mount-boot_pkg_pretend |
|
92 |
} |
|
93 | ||
94 |
pkg_preinst() { |
|
95 |
use boot && mount-boot_pkg_preinst |
|
96 |
} |
|
97 | ||
98 |
pkg_prerm() { |
|
99 |
use boot && mount-boot_pk_prerm |
|
78 | 100 |
} |