mirror of
https://git.savannah.gnu.org/git/gnuboot.git
synced 2025-01-07 00:37:42 +01:00
Denis 'GNUtoo' Carikli
dd59202068
Without that fix we have the following build error on PureOS 10 (byzantium): Submodule path 'util/nvidia/cbootimage': checked out '65a6d94dd5f442578551e0a81ecbe5235e673fd4' Committer identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got '[...]') ERROR: download/coreboot: Unable to apply patch '../../resources/coreboot/default/patches/0001-apple-macbook21-Set-default-VRAM-to-64MiB-instead-of.patch' for board 'default' on tree 'default'Committer identity unknown This is because PureOS 10 (byzantium) has git 2.30.2 and in PureOS, and since 'man git' doesn't show GIT_CONFIG_GLOBAL nor GIT_CONFIG_SYSTEM, git 2.30.2 doesn't understand these variables. Since git already has -c option, we use that instead. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
22 lines
1,014 B
Bash
Executable file
22 lines
1,014 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (C) 2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
# This Makefile makes it easier to cache the builds than with shell
|
|
# scripts: The make program compares the timestamps of the source code
|
|
# and the binaries and if the source is more recent, rebuilds the
|
|
# binaries.
|
|
git -c "include.path=$(realpath "$(dirname "$0")"/gitconfig)" $@
|