From e9f390b65b5a5db75d43d949c773fd69b31307b8 Mon Sep 17 00:00:00 2001 From: digimer Date: Fri, 20 Jan 2023 22:24:24 -0500 Subject: [PATCH] * Udated RPM spec to add new core requires and add calling 'anvil-version-changes' to core's %post. * Added missing man pages and the new anvil-manage-storage-groups to the Makefile.am's. Signed-off-by: digimer --- anvil.spec.in | 16 ++++++++-------- man/Makefile.am | 11 ++++++++++- tools/Makefile.am | 1 + 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/anvil.spec.in b/anvil.spec.in index 5fd97e04..cde510d7 100644 --- a/anvil.spec.in +++ b/anvil.spec.in @@ -60,6 +60,7 @@ Requires: kernel-core Requires: kernel-devel Requires: kernel-headers Requires: lsscsi +Requires: lsof Requires: mailx Requires: mlocate Requires: net-snmp-utils @@ -101,6 +102,7 @@ Requires: postgresql-plperl Requires: rsync Requires: screen Requires: smartmontools +Requires: strace Requires: syslinux Requires: tar Requires: tcpdump @@ -238,15 +240,13 @@ sed -i.anvil 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config setenforce 0 # Enable and start the anvil-daemon ### TODO: check it if was disabled (if it existed before) and, if so, leave it disabled. -systemctl enable chronyd.service -systemctl start chronyd.service -systemctl enable anvil-daemon.service -systemctl restart anvil-daemon.service -systemctl enable scancore.service -systemctl restart scancore.service -systemctl enable striker-ui-api.service +systemctl enable --now chronyd.service +systemctl enable --now anvil-daemon.service +systemctl enable --now scancore.service +systemctl enable --now striker-ui-api.service systemctl restart striker-ui-api.service - +echo "Running 'anvil-version-changes' to update Anvil! systems +anvil-version-changes -vv %post striker ### NOTE: PostgreSQL is initialized and enabled by striker-prep-database later. diff --git a/man/Makefile.am b/man/Makefile.am index f1ebdf7b..d614bf43 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -9,7 +9,16 @@ dist_man5_MANS = \ dist_man8_MANS = \ alteeve-repo-setup.8 \ anvil-boot-server.8 \ + anvil-change-password.8 \ anvil-check-memory.8 \ anvil-configure-host.8 \ anvil-daemon.8 \ - scancore.8 + anvil-delete-server.8 \ + anvil-manage-alerts.8 \ + anvil-manage-dr.8 \ + anvil-manage-files.8 \ + anvil-manage-keys.1 \ + anvil-manage-server.8 \ + anvil-manage-storage-groups.8 \ + scancore.8 \ + striker-initialize-host.8 diff --git a/tools/Makefile.am b/tools/Makefile.am index d2733ca1..e0e2b7ea 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -26,6 +26,7 @@ dist_sbin_SCRIPTS = \ anvil-manage-keys \ anvil-manage-power \ anvil-manage-server \ + anvil-manage-storage-groups \ anvil-migrate-server \ anvil-network-profiler \ anvil-parse-fence-agents \