mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-18 18:56:29 +00:00
changed pciutils to hwdata, the package which requires/installs pci.ids
This commit is contained in:
parent
fa12d6f607
commit
e90869153c
@ -160,7 +160,7 @@ ospackage {
|
||||
requires('mariadb-server' , '10.3' , GREATER | EQUAL)
|
||||
requires('procps-ng', '3.3.15', GREATER | EQUAL)
|
||||
requires('alternatives', '1.19', GREATER | EQUAL)
|
||||
requires('pciutils', '3.7.0', GREATER | EQUAL)
|
||||
requires('hwdata', '0.314', GREATER | EQUAL)
|
||||
// Post Trans stage (Occurs after required app and postInstall stage)
|
||||
// Note postInstall wont wait for required apps
|
||||
postTrans 'update-alternatives --set java java-17-openjdk.x86_64'
|
||||
@ -182,7 +182,7 @@ ospackage {
|
||||
requires('openjdk-17-jdk', '17.0', GREATER | EQUAL)
|
||||
requires('mariadb-server' , '10.3' , GREATER | EQUAL)
|
||||
requires('curl')
|
||||
requires('pciutils', '3.7.0', GREATER | EQUAL)
|
||||
requires('hwdata', '0.314', GREATER | EQUAL)
|
||||
// Install after required packages
|
||||
postInstall 'bash /opt/hirs/aca/scripts/aca/aca_setup.sh -u'
|
||||
postInstall 'bash /opt/hirs/aca/scripts/systemd/aca_enable_service.sh'
|
||||
|
@ -29,6 +29,9 @@ public final class PciIds {
|
||||
|
||||
/**
|
||||
* This pci ids file can be in different places on different distributions.
|
||||
* Fedora/RHEL/Rocky/CentOS: /usr/share/hwdata/pci.ids
|
||||
* Debian/Ubuntu: /usr/share/misc/pci.ids
|
||||
* For windows, the file will have to be accessed from code (in the future can change this)
|
||||
*/
|
||||
public static final List<String> PCI_IDS_PATH =
|
||||
Collections.unmodifiableList(new ArrayList<>() {
|
||||
|
@ -119,10 +119,10 @@ ospackage {
|
||||
|
||||
buildRpm {
|
||||
arch = X86_64
|
||||
requires('pciutils', '3.7.0', GREATER | EQUAL)
|
||||
requires('hwdata', '0.314', GREATER | EQUAL)
|
||||
}
|
||||
buildDeb {
|
||||
arch = 'amd64'
|
||||
requires('pciutils', '3.7.0', GREATER | EQUAL)
|
||||
requires('hwdata', '0.314', GREATER | EQUAL)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user