File netconsole-tools.spec of Package netconsole-tools

#
# spec file for package netconsole-tools
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           netconsole-tools
Version:        20030909
Release:        0
Summary:        Configure netconsole Kernel Module
License:        SUSE-Public-Domain
Group:          System/Kernel
Source0:        netconsole-server.sh
Source2:        netlogging.txt
BuildArch:      noarch

%description
netconsole is a kernel feature to log the dmesg output via the network.
The used network driver must support the polling function.

netconsole-server is a wrapper for insmod to load netconsole.o with the
correct options. Use netcat on the client side to receive the kernel
messages.

%prep
cp -av %{SOURCE2} netlogging.txt

%build

%install
install -Dpm 0755 %{SOURCE0} \
  %{buildroot}/sbin/netconsole-server

%files
%doc netlogging.txt
/sbin/netconsole-server

%changelog