
Updated /var/log/dmesg and /var/log/dmesg.old file permissions to 600 from 644 in order to comply to openscap rules security requirements. Verified that installation is successful for AIO-SX and Standard 2+2 system configurations. Story: 2008037 Task: 40694 Change-Id: I2acb1bb0126d472193da674a95ac4559d1a1f9d4 Signed-off-by: Carmen Rata <carmen.rata@windriver.com>
31 lines
722 B
RPMSpec
31 lines
722 B
RPMSpec
Summary: StarlingX Dmesg Configuration File
|
|
Name: dmesg-config
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: config-files
|
|
Packager: StarlingX
|
|
URL: unknown
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%description
|
|
StarlingX dmesg configuration file
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%install
|
|
install -d -m 755 %{buildroot}%{_sysconfdir}/systemd/system/rhel-dmesg.service.d/
|
|
install -p -m 644 rhel-dmesg-stx-override.conf %{buildroot}%{_sysconfdir}/systemd/system/rhel-dmesg.service.d/
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license LICENSE
|
|
%dir %{_sysconfdir}/systemd/system/rhel-dmesg.service.d
|
|
%{_sysconfdir}/systemd/system/rhel-dmesg.service.d/rhel-dmesg-stx-override.conf
|