You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the <license> references a file in a sub-directory of the pack, the license is not extracted correctly
To Reproduce
Steps to reproduce the behavior:
Run the cpackget: cpackget add TexasInstruments::MSPM0L11XX_L13XX_DFP
When asked to [A]ccpet [C]ancle or [E]xtract choose E
See error
I: Extracting embedded license to C:\Users\jkrech\AppData\Local\Arm\Packs\.Download\TexasInstruments.MSPM0L11XX_L13XX_DFP.1.2.1.pack.01_Pack\license.txt
E: open C:\Users\jkrech\AppData\Local\Arm\Packs\.Download\TexasInstruments.MSPM0L11XX_L13XX_DFP.1.2.1.pack.01_Pack\license.txt: The system cannot find the path specified.
NOTE: I the user accepts the license, the license file is currently not stored at all and wrong path to the license file is provided to invoking tools (e.g. MDK PackInstaller). While the cpackget CLI installation completes successfully without the license being stored, an integrating tool cannot find nor display the license and the pack cannot be installed successfully.
Expected behavior
The license file shall be stored regardless or pack location in a file named:
Describe the bug
cpackget V2.0.0
When the
<license>
references a file in a sub-directory of the pack, the license is not extracted correctlyTo Reproduce
Steps to reproduce the behavior:
cpackget add TexasInstruments::MSPM0L11XX_L13XX_DFP
[A]ccpet [C]ancle or [E]xtract
chooseE
NOTE: I the user accepts the license, the license file is currently not stored at all and wrong path to the license file is provided to invoking tools (e.g. MDK PackInstaller). While the cpackget CLI installation completes successfully without the license being stored, an integrating tool cannot find nor display the license and the pack cannot be installed successfully.
Expected behavior
The license file shall be stored regardless or pack location in a file named:
Environment:
The text was updated successfully, but these errors were encountered: