Diff grub-2.14-r4 with a grub-9999
| /usr/portage/sys-boot/grub/grub-9999.ebuild 2026-03-31 11:46:08.438653402 +0300 | ||
|---|---|---|
| 16 | 16 |
# If any of the above applies to a user patch, the user should set the |
| 17 | 17 |
# corresponding variable in make.conf or the environment. |
| 18 | 18 | |
| 19 |
GRUB_AUTOGEN=1 |
|
| 20 |
GRUB_AUTORECONF=1 |
|
| 19 |
if [[ ${PV} == 9999 ]]; then
|
|
| 20 |
GRUB_AUTORECONF=1 |
|
| 21 |
GRUB_BOOTSTRAP=1 |
|
| 22 |
fi |
|
| 21 | 23 | |
| 22 | 24 |
PYTHON_COMPAT=( python3_{11..14} )
|
| 23 | 25 |
WANT_LIBTOOL=none |
| ... | ... | |
| 26 | 28 |
inherit autotools |
| 27 | 29 |
fi |
| 28 | 30 | |
| 29 |
inherit bash-completion-r1 eapi9-pipestatus eapi9-ver flag-o-matic multibuild optfeature |
|
| 31 |
inherit bash-completion-r1 eapi9-ver flag-o-matic multibuild optfeature |
|
| 30 | 32 |
inherit python-any-r1 secureboot toolchain-funcs verify-sig |
| 31 | 33 | |
| 32 | 34 |
DESCRIPTION="GNU GRUB boot loader" |
| 33 |
HOMEPAGE="https://www.gnu.org/software/grub/" |
|
| 35 |
HOMEPAGE="https://gnu-grub.freedesktop.org/" |
|
| 34 | 36 | |
| 35 | 37 |
MY_P=${P}
|
| 36 |
if [[ ${PV} != 9999 ]]; then
|
|
| 38 |
if [[ ${PV} == 9999 ]]; then
|
|
| 39 |
inherit git-r3 |
|
| 40 |
EGIT_REPO_URI="https://gitlab.freedesktop.org/gnu-grub/grub.git" |
|
| 41 |
else |
|
| 37 | 42 |
if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then
|
| 38 | 43 |
# The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860 |
| 39 | 44 |
MY_P=${P/_/'~'}
|
| ... | ... | |
| 46 | 51 |
SRC_URI=" |
| 47 | 52 |
mirror://gnu/${PN}/${P}.tar.xz
|
| 48 | 53 |
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
|
| 49 |
https://dev.gentoo.org/~floppym/dist/${P}-patches.tar.xz
|
|
| 50 | 54 |
" |
| 51 | 55 |
S=${WORKDIR}/${P%_*}
|
| 52 | 56 |
fi |
| ... | ... | |
| 56 | 60 |
sec-keys/openpgp-keys-unifont |
| 57 | 61 |
) |
| 58 | 62 |
" |
| 59 |
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" |
|
| 60 |
else |
|
| 61 |
inherit git-r3 |
|
| 62 |
EGIT_REPO_URI="https://git.savannah.gnu.org/git/grub.git" |
|
| 63 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
| 63 | 64 |
fi |
| 64 | 65 | |
| 65 | 66 |
DEJAVU_VER=2.37 |
| ... | ... | |
| 175 | 176 |
} |
| 176 | 177 | |
| 177 | 178 |
src_prepare() {
|
| 178 |
# Bug 971544 |
|
| 179 |
find grub-core/lib/gnulib -name '*.in.h' | sed 's/.in.h$/.h/' | xargs rm -fv |
|
| 180 |
pipestatus || die |
|
| 181 | ||
| 182 |
local PATCHES=( |
|
| 183 |
"${WORKDIR}/${P}-patches"
|
|
| 184 |
"${FILESDIR}/${P}-efi_uga.patch"
|
|
| 185 |
) |
|
| 186 | ||
| 187 | 179 |
default |
| 188 | 180 | |
| 189 | 181 |
python_setup |