Bug 1226317 - stlink package is missing files in /usr/share/stlink/chips
Summary: stlink package is missing files in /usr/share/stlink/chips
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dmitry Roshchin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 06:44 UTC by Breinbauer
Modified: 2024-07-01 14:30 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Breinbauer 2024-06-14 06:44:08 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Build Identifier: 

The files in /usr/share/stlink/chips are missing in package stlink, but are provided in package stlink-gui. Therefore if only stlink is installed it fails with:
st-flash 1.8.0
/usr/share/stlink/chips: No such file or directory
2024-06-14T08:30:04 WARN common.c: unknown chip id! 0x419
Failed to connect to target
Failed to parse flash type or unrecognized flash type

After installink stlink-gui, st-link utils work

Reproducible: Always

Steps to Reproduce:
1. Install only stlink
2. Try to use utils -> Fail
3. Install stlink-gui
4. Try to use utils again -> Success
Actual Results:  
stlink utils do not work

Expected Results:  
The files in /usr/share/stlink/chips should be provided by stlink package. stlink-gui depends on it, so it will have the files also installed.