
This change provides the logrotate configuration to handle the log files being generated by the multus-cni container at /var/log/multus.log. The config file is packaged in an rpm and installed to /etc/logrotate.d/multus.lograte during system installation. Closes-Bug: 1900065 Change-Id: I01142f7fca9da0d31f69facd569086d96bbde323 Signed-off-by: Cole Walker <cole.walker@windriver.com>
32 lines
687 B
RPMSpec
32 lines
687 B
RPMSpec
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (C) 2020 Wind River Systems, Inc.
|
|
#
|
|
Summary: multus-config
|
|
Name: multus-config
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: StarlingX
|
|
URL: unknown
|
|
BuildArch: noarch
|
|
Source: %name-%version.tar.gz
|
|
|
|
Summary: package StarlingX configuration files of multus to system folder.
|
|
|
|
%description
|
|
package StarlingX configuration files of multus to system folder.
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%install
|
|
%{__install} -d %{buildroot}%{_sysconfdir}/logrotate.d
|
|
%{__install} -m 0644 multus.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/multus.logrotate
|
|
|
|
|
|
%files
|
|
%{_sysconfdir}/logrotate.d/multus.logrotate
|