bab9bb6b69
Create new directories: ceph config config-files filesystem kernel kernel/kernel-modules ldap logging strorage-drivers tools utilities virt Retire directories: connectivity core devtools support extended Delete two packages: tgt irqbalance Relocated packages: base/ dhcp initscripts libevent lighttpd linuxptp memcached net-snmp novnc ntp openssh pam procps sanlock shadow sudo systemd util-linux vim watchdog ceph/ python-cephclient config/ facter puppet-4.8.2 puppet-modules filesystem/ e2fsprogs nfs-utils nfscheck kernel/ kernel-std kernel-rt kernel/kernel-modules/ mlnx-ofa_kernel ldap/ nss-pam-ldapd openldap logging/ syslog-ng logrotate networking/ lldpd iproute mellanox python-ryu mlx4-config python/ python-2.7.5 python-django python-gunicorn python-setuptools python-smartpm python-voluptuous security/ shim-signed shim-unsigned tboot strorage-drivers/ python-3parclient python-lefthandclient virt/ cloud-init libvirt libvirt-python qemu tools/ storage-topology vm-topology utilities/ tis-extensions namespace-utils nova-utils update-motd Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
60 lines
1.3 KiB
RPMSpec
60 lines
1.3 KiB
RPMSpec
Name: update-motd
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
Summary: dynamic MOTD generation
|
|
|
|
Group: base
|
|
License: Apache-2.0
|
|
URL: unknown
|
|
Source0: motd-footer
|
|
Source1: motd-header
|
|
Source2: motd-update
|
|
Source3: motd-update.cron
|
|
Source4: customize-banner
|
|
Source5: apply_banner_customization
|
|
Source6: install_banner_customization
|
|
Source7: LICENSE
|
|
|
|
Requires: crontabs
|
|
|
|
%description
|
|
dynamic MOTD generation
|
|
|
|
%prep
|
|
|
|
|
|
%build
|
|
|
|
|
|
%install
|
|
install -d %{buildroot}%{_sbindir}
|
|
install -m 700 %{SOURCE2} %{buildroot}%{_sbindir}/motd-update
|
|
|
|
install -d %{buildroot}%{_sysconfdir}
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/motd.d
|
|
install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/motd.d/00-header
|
|
install -m 755 %{SOURCE0} %{buildroot}%{_sysconfdir}/motd.d/99-footer
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/cron.d
|
|
install -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/cron.d/motd-update
|
|
install -m 700 %{SOURCE4} %{buildroot}%{_sbindir}/customize-banner
|
|
install -m 700 %{SOURCE5} %{buildroot}%{_sbindir}/apply_banner_customization
|
|
install -m 700 %{SOURCE6} %{buildroot}%{_sbindir}/install_banner_customization
|
|
|
|
|
|
%files
|
|
%license ../SOURCES/LICENSE
|
|
%dir %{_sysconfdir}/motd.d/
|
|
%{_sysconfdir}/motd.d/*
|
|
/usr/sbin/*
|
|
/etc/motd.d/*
|
|
/etc/cron.d/*
|
|
%{_sbindir}/motd-update
|
|
%{_sbindir}/customize-banner
|
|
%{_sbindir}/apply_banner_customization
|
|
%{_sbindir}/install_banner_customization
|
|
|
|
%changelog
|
|
|