Actions
Bug #8026
closedArchitecture #8015: Preliminary support for Slackware
Slackware support for FusionInventory-Agent
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Nodes & inventories
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Something is wrong into inventory for slackware nodes
report of fusioninventory :
...
<SOFTWARES>
<NAME>pygtk-2.24.</NAME>
<VERSION>0-x86_64-1</VERSION>
</SOFTWARES>
...
to fix it : patch regex in fusioninventory-agent-2.3.6/lib/FusionInventory/Agent/Task/Inventory/Generic/Softwares/Slackware.pm
- next unless $file =~ /^(.+)([^-]+-[^-]+-[^-]+)$/;
+ next unless $file =~ /^(.+)-(.+)-(i[0-9]86|noarch|x86_64|x86|fw|npmjs)-(.*)$/;
$1 -> name
$2 -> version
$3 -> architecture
$4 -> build
patch in attachments
After patching :
<NAME>xrandr</NAME>
<VERSION>1.4.1</VERSION>
tested on slackware64-14.1 et slackware-14.1
Files
Actions