Bug 1226317

Summary: stlink package is missing files in /usr/share/stlink/chips
Product: [openSUSE] openSUSE Tumbleweed Reporter: Breinbauer <bernhard>
Component: DevelopmentAssignee: Dmitry Roshchin <dmitry>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.