Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
rasdaemon.35133
rasdaemon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rasdaemon.spec of Package rasdaemon.35133
# # spec file for package rasdaemon # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: rasdaemon Version: 0.6.7.18.git+7ccf12f Release: 0 Summary: Utility to receive RAS error tracings License: GPL-2.0-only Group: Hardware/Other URL: http://git.infradead.org/users/mchehab/rasdaemon.git Source: %{name}-%{version}.tar.xz Patch0: rasdaemon-Update-SMCA-bank-error-descriptions.patch Patch2: rasdaemon-Handle-reassigned-bit-definitions-for-CS-SMCA.patch Patch3: rasdaemon-Add-support-for-post-processing-MCA-errors.patch Patch4: rasdaemon-Add-new-MA_LLC-USR_DP-and-USR_CP-bank-types.patch Patch5: rasdaemon-Handle-reassigned-bit-definitions-for-UMC-bank.patch Patch6: rasdaemon-Identify-the-DIe-Number-in-multidie-system.patch Patch7: rasdaemon-Fix-SMCA-bank-type-decoding.patch Patch8: rasdaemon-Fix-poll-on-per_cpu-trace_pipe_raw-blocks-indefinitely.patch Patch9: rasdaemon-Add-error-decoding-for-MCA_CTL_SMU-extended-bits.patch PAtch10: rasdaemon-mce-amd-smca-Optimizing-decoding-of-MCA_CTL_SMU-bits.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: sqlite3-devel Requires(pre): %fillup_prereq Requires: perl-DBD-SQLite %{?systemd_ordering} %ifnarch s390x Requires: dmidecode %endif %description rasdaemon is a RAS (Reliability, Availability and Serviceability) logging tool. It currently records memory errors, using the EDAC tracing events. EDAC is drivers in the Linux kernel that handle detection of ECC errors from memory controllers for most chipsets on i386 and x86_64 architectures. EDAC drivers for other architectures like arm also exists. This userspace component consists of an init script which makes sure EDAC drivers and DIMM labels are loaded at system startup, as well as an utility for reporting current error counts from the EDAC sysfs files. %prep %setup -q %autopatch -p1 %build autoreconf -fvi %configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig CFLAGS="%{optflags}" make %{?_smp_mflags} V=1 %install %make_install make install DESTDIR=%{buildroot} install -D -p -m 0644 misc/rasdaemon.service %{buildroot}%{_unitdir}/rasdaemon.service install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrasdaemon ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl rm INSTALL %{buildroot}/usr/include/*.h mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon mkdir -p %{buildroot}%{_fillupdir} mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon %pre %service_add_pre rasdaemon.service ras-mc-ctl.service %post %fillup_only %service_add_post rasdaemon.service ras-mc-ctl.service %preun %service_del_preun rasdaemon.service ras-mc-ctl.service %postun %service_del_postun rasdaemon.service ras-mc-ctl.service %files %license COPYING %doc AUTHORS ChangeLog README TODO %{_sbindir}/rasdaemon %{_sbindir}/ras-mc-ctl %{_sbindir}/rcrasdaemon %{_sbindir}/rcras-mc-ctl %{_mandir}/*/* %{_unitdir}/*.service %dir %{_sysconfdir}/ras %dir %{_localstatedir}/lib/rasdaemon %ghost %{_localstatedir}/lib/rasdaemon/ras-mc_event.db %attr (644,root,root) %{_fillupdir}/sysconfig.rasdaemon %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor