Skip to content

Commit

Permalink
grub-tb-common.inc: clone gnulib in do_fetch()
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Pijanowski <[email protected]>
  • Loading branch information
macpijan committed Aug 1, 2024
1 parent 9a1d7d1 commit 1aa2324
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions recipes-bsp/grub/grub-tb-common.inc
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
SRC_URI = "git://github.com/TrenchBoot/grub.git;branch=${BRANCH};protocol=https"
SRC_URI = "git://github.com/TrenchBoot/grub.git;name=grub;branch=${BRANCH_grub};protocol=https \
git://github.com/coreutils/gnulib;name=gnulib;branch=${BRANCH_gnulib};protocol=https;destsuffix=git/gnulib"

PV = "2.06"

BRANCH = "intel-txt-aem-2.06-rebased"
SRCREV = "85ccfdc700a1640c148909cbbad777ba6d7d124b"
BRANCH_grub = "intel-txt-aem-2.06-rebased"
SRCREV_grub = "85ccfdc700a1640c148909cbbad777ba6d7d124b"

# We add gnulib to SRC_URI to avoid downloading it during the do_configure().
# The bootstrap script seems to be smart enough to skip fetching repo again
# if the local revision is corrrect. Another way to "solve" that would be
# to add gnulib as a submodule in our fork.
#
# We need to update this with each grub rebase, to make sure it is in sync
# with the bootstrap.conf, otherwise it will be sync during do_configure()
# again.
BRANCH_gnulib = "master"
SRCREV_gnulib = "9f48fb992a3d7e96610c4ce8be969cff2d61a01b"

SRCREV_FORMAT = "grub_gnulib"

S = "${WORKDIR}/git"

Expand Down

0 comments on commit 1aa2324

Please sign in to comment.