| Message ID | 27d4df9ce9072a066d8e32802099dd61786bf5b7.1773966318.git.yoann.congal@smile.fr |
|---|---|
| State | New |
| Headers | show |
| Series | [scarthgap,2.8,1/4] fetch2: don't try to preserve all attributes when unpacking files | expand |
diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py index ba62517f0..5c9899148 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -123,7 +123,7 @@ class GitSM(Git): url += ";name=%s" % module url += ";subpath=%s" % module url += ";nobranch=1" - url += ";lfs=%s" % self._need_lfs(ud) + url += ";lfs=%s" % ("1" if self._need_lfs(ud) else "0") # Note that adding "user=" here to give credentials to the # submodule is not supported. Since using SRC_URI to give git:// # URL a password is not supported, one have to use one of the