Sisyphus repositório
Última atualização: 8 dezembro 2021 | SRPMs: 17436 | Visitas: 22483873
en ru br
ALT Linux repositórios
S:234-alt1

Group :: Sistema/Configurações/Boot e Init
RPM: systemd-bootchart

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1

Name: systemd-bootchart
Version: 234
Release: alt1
Summary: Boot performance graphing tool

Group: System/Configuration/Boot and Init
License: GPL-2.0-or-later and LGPL-2.1-or-later
Url: https://github.com/systemd/systemd-bootchart

Source: %name-%version.tar
BuildRequires: libsystemd-devel
BuildRequires: xsltproc
BuildRequires: docbook-style-xsl

%description
systemd-bootchart is a tool, usually run at system startup, that
collects the CPU load, disk load, memory usage, as well as per-process
information from a running system. Collected results are output as an SVG
graph. Normally, systemd-bootchart is invoked by the kernel by passing
init=/lib/systemd/systemd-bootchart on the kernel command line, adding
initcall_debug to collect data on kernel init threads. systemd-bootchart
will then fork the real init off to resume normal system startup, while
monitoring and logging startup information in the background.

%prep
%setup
sed -Ei 's,/usr(/lib/systemd),\1,g' man/*.xml

%build
%autoreconf
%configure --with-rootprefix=/ --with-rootlibdir=/lib
%make_build

%install
%makeinstall_std

%post
%post_service %name

%preun
%preun_service %name

%files
%doc LICENSE.GPL2 LICENSE.LGPL2.1 README
%config(noreplace) %_sysconfdir/systemd/bootchart.conf
%systemd_unitdir/%name.service
/lib/systemd/systemd-bootchart
%_man1dir/systemd-bootchart.1*
%_man5dir/bootchart.conf.5*
%_man5dir/bootchart.conf.d.5*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009