* 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 <mkelly@alteeve.ca>
main
digimer 2 years ago
parent e012d6016c
commit e9f390b65b
  1. 16
      anvil.spec.in
  2. 11
      man/Makefile.am
  3. 1
      tools/Makefile.am

@ -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.

@ -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

@ -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 \

Loading…
Cancel
Save