add python3 and python3-psutil into makefile

Resolves: rhbz#1990392
This commit is contained in:
Filip Dvorak 2021-09-30 10:51:37 +02:00
parent d32a01afd5
commit f0aba117d7
2 changed files with 1 additions and 3 deletions

View File

@ -27,7 +27,7 @@ $(METADATA): Makefile
@echo "Type: Sanity" >> $(METADATA) @echo "Type: Sanity" >> $(METADATA)
@echo "TestTime: 5m" >> $(METADATA) @echo "TestTime: 5m" >> $(METADATA)
@echo "RunFor: freeradius" >> $(METADATA) @echo "RunFor: freeradius" >> $(METADATA)
@echo "Requires: freeradius" >> $(METADATA) @echo "Requires: freeradius freeradius-utils python3 python3-psutil" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA) @echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA) @echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA) @echo "Confidential: no" >> $(METADATA)

View File

@ -48,8 +48,6 @@ rlJournalStart
rlRun "cp clients.conf $RADIUS_CLIENT_CONF" rlRun "cp clients.conf $RADIUS_CLIENT_CONF"
rlRun "cp authorize $RADIUD_PALIN_TEXT_AUTH_FILE" rlRun "cp authorize $RADIUD_PALIN_TEXT_AUTH_FILE"
rlRun "systemctl daemon-reload" rlRun "systemctl daemon-reload"
#psutil module is missing
pip3 install psutil
#manually generate default certificates #manually generate default certificates
generate_cert generate_cert
rlPhaseEnd rlPhaseEnd