| Summary: |
Perforce fetch renames sub folders |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Katutxakurra <katutxakurra> |
| Component: |
bitbake | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
poky.bs.watcher, poky.watcher, sgw
|
| Version: |
1.5 | |
|
| Target Milestone: |
1.5.1 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
| Attachments: |
|
Created attachment 1577 [details] perforce.py patch The following sintax fetches the code from a perforce repository: P4PORT = "host:port" FETCHCOMMAND_p4 = "p4" P4CHANGELIST = "changelistnumber" PR = "r0" S = "${WORKDIR}" SRC_URI = " \ p4://depot/folder/...;module=localfolder/localsubfolder;changeslist=${P4CHANGELIST} \ " However, the subfolders of //depot/folder/... get renamed when mapped to the local folder structure. They lose the first 3 letters. The attached change worked for me, It changes - base = path[:which] + base = path[:which-1] in the perforce.py from yocto 1.5 dora. Thanks