Bug 13198

Summary: unpack fails when git repo has lfs links
Product: [Build System, Metadata & Runtime] BitBake Reporter: Anuj Mittal <anuj.mittal>
Component: bitbakeAssignee: Naveen Saini <naveen.kumar.saini>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 2.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Anuj Mittal 2019-02-23 07:49:27 UTC
If git-lfs is installed on the build machine and the repository specified in SRC_URI has files stored using LFS, unpack fails with error like:

git-lfs smudge -- 'doc/MFE-Overview.pdf': 1: git-lfs smudge -- 'doc/MFE-Overview.pdf': git-lfs: not found
error: external filter git-lfs smudge -- %f failed -1
error: external filter git-lfs smudge -- %f failed
fatal: doc/MFE-Overview.pdf: smudge filter lfs failed

Example repo:

https://github.com/Intel-Media-SDK/MediaSDK