commit:     3f1c1430961a364c1e517c25071166f62e0de904
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 14 15:22:10 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 15:22:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f1c1430

sys-boot/grub: skip fetching translations in bootstrap

Closes: https://bugs.gentoo.org/967407
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-boot/grub/grub-9999.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index 7611ea86db95..958e97ba58c2 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -159,7 +159,9 @@ src_unpack() {
                local GNULIB_REVISION=$(source bootstrap.conf >/dev/null; echo 
"${GNULIB_REVISION}")
                git-r3_fetch "${GNULIB_URI}" "${GNULIB_REVISION}"
                git-r3_checkout "${GNULIB_URI}" gnulib
-               sh linguas.sh || die
+               if use nls; then
+                       sh linguas.sh || die
+               fi
                popd >/dev/null || die
        elif use verify-sig; then
                verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sig} \
@@ -179,7 +181,7 @@ src_prepare() {
 
        if [[ -n ${GRUB_BOOTSTRAP} ]]; then
                eautopoint --force
-               AUTOPOINT=: AUTORECONF=: ./bootstrap || die
+               AUTOPOINT=: AUTORECONF=: ./bootstrap --skip-po || die
        elif [[ -n ${GRUB_AUTOGEN} ]]; then
                FROM_BOOTSTRAP=1 ./autogen.sh || die
        fi

Reply via email to