Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/grub/
Date: Tue, 14 Sep 2021 14:02:27
Message-Id: 1631628117.3bd87a8adfebcc22f55823568418f7cb4365a245.floppym@gentoo
1 commit: 3bd87a8adfebcc22f55823568418f7cb4365a245
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 14:00:46 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 14:01:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd87a8a
7
8 sys-boot/grub: document global variables
9
10 Bug: https://bugs.gentoo.org/813037
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 sys-boot/grub/grub-2.06-r1.ebuild | 13 +++++++++++++
14 sys-boot/grub/grub-9999.ebuild | 13 +++++++++++++
15 2 files changed, 26 insertions(+)
16
17 diff --git a/sys-boot/grub/grub-2.06-r1.ebuild b/sys-boot/grub/grub-2.06-r1.ebuild
18 index 09e5054052a..932676d67fd 100644
19 --- a/sys-boot/grub/grub-2.06-r1.ebuild
20 +++ b/sys-boot/grub/grub-2.06-r1.ebuild
21 @@ -3,6 +3,19 @@
22
23 EAPI=7
24
25 +# This ebuild uses 3 special global variables:
26 +# GRUB_BOOTSTRAP: Depend on python and invoke bootstrap (gnulib).
27 +# GRUB_AUTOGEN: Depend on python and invoke the autogen.sh.
28 +# GRUB_AUTORECONF: Inherit autotools and invoke eautoreconf.
29 +#
30 +# When applying patches:
31 +# If gnulib is updated, set GRUB_BOOTSTRAP=1
32 +# If *.def is updated, set GRUB_AUTOGEN=1
33 +# If gnulib, *.def, or any autotools files are updated, set GRUB_AUTORECONF=1
34 +#
35 +# If any of the above applies to a user patch, the user should set the
36 +# corresponding variable in make.conf or the environment.
37 +
38 if [[ ${PV} == 9999 ]]; then
39 GRUB_AUTORECONF=1
40 GRUB_BOOTSTRAP=1
41
42 diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
43 index 119378453e6..7ba93a50419 100644
44 --- a/sys-boot/grub/grub-9999.ebuild
45 +++ b/sys-boot/grub/grub-9999.ebuild
46 @@ -3,6 +3,19 @@
47
48 EAPI=7
49
50 +# This ebuild uses 3 special global variables:
51 +# GRUB_BOOTSTRAP: Depend on python and invoke bootstrap (gnulib).
52 +# GRUB_AUTOGEN: Depend on python and invoke the autogen.sh.
53 +# GRUB_AUTORECONF: Inherit autotools and invoke eautoreconf.
54 +#
55 +# When applying patches:
56 +# If gnulib is updated, set GRUB_BOOTSTRAP=1
57 +# If *.def is updated, set GRUB_AUTOGEN=1
58 +# If gnulib, *.def, or any autotools files are updated, set GRUB_AUTORECONF=1
59 +#
60 +# If any of the above applies to a user patch, the user should set the
61 +# corresponding variable in make.conf or the environment.
62 +
63 if [[ ${PV} == 9999 ]]; then
64 GRUB_AUTORECONF=1
65 GRUB_BOOTSTRAP=1