added pciutils to rpm build for acaportal and eventlogtool

This commit is contained in:
iadgovuser58 2024-09-05 13:54:13 -04:00
parent e0a061f6f2
commit fa12d6f607
2 changed files with 5 additions and 1 deletions

View File

@ -160,8 +160,9 @@ 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)
// Post Trans stage (Occurs after required app and postInstall stage)
// Note postInstall wont wait forrequired apps
// Note postInstall wont wait for required apps
postTrans 'update-alternatives --set java java-17-openjdk.x86_64'
postTrans 'firewall-cmd --add-port=8443/tcp --permanent'
postTrans 'firewall-cmd --reload'
@ -181,6 +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)
// 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'

View File

@ -119,8 +119,10 @@ ospackage {
buildRpm {
arch = X86_64
requires('pciutils', '3.7.0', GREATER | EQUAL)
}
buildDeb {
arch = 'amd64'
requires('pciutils', '3.7.0', GREATER | EQUAL)
}
}