From: Peter Kjellerstedt <pkj@axis.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: [PATCH] fetch2/git: Clarify error about missing LFS support
Date: Wed, 2 Sep 2026 14:26:49 +0200 [thread overview]
Message-ID: <20260902122649.1466784-1-pkj@axis.com> (raw)
Not everyone knows that lfs=0 is a parameter that shall be added to the
URL to ignore the LFS contents.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
lib/bb/fetch2/git.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index 0bb2ea39a..924a8f7ae 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -886,8 +886,8 @@ class Git(FetchMethod):
"""
if shutil.which("git-lfs", path=d.getVar('PATH')) is None:
raise bb.fetch2.FetchError(
- "Repository %s has LFS content, install git-lfs on host to download (or set lfs=0 "
- "to ignore it)" % self._get_repo_url(ud))
+ "Repository %s has LFS content, either install git-lfs on the host to download it, "
+ "or ignore it by adding lfs=0 as a parameter to the URL" % self._get_repo_url(ud))
def _get_repo_url(self, ud):
"""
reply other threads:[~2026-09-02 12:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260902122649.1466784-1-pkj@axis.com \
--to=pkj@axis.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.