add SPDX tags

Signed-off-by: Clark Williams <williams@redhat.com>
This commit is contained in:
Clark Williams 2023-07-05 08:58:24 -05:00
parent 25ad440b2a
commit ffb094355a
15 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,4 @@
# realtime-setup
# SPDX-License-Identifier: GPL-2.0-or-later
The realtime-setup package

View File

@ -1,2 +1,3 @@
#!/usr/bin/bash -e
# SPDX-License-Identifier: GPL-2.0-or-later
[ -e /sys/kernel/realtime ]

View File

@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-or-later
[main]
enabled=1

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
from yum.plugins import TYPE_INTERACTIVE
requires_api_version = '2.5'
plugin_type = (TYPE_INTERACTIVE,)

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
[Unit]
Description=RT Enable Netsocket Timestap Static Key daemon
After=syslog.target network.target

View File

@ -6,6 +6,8 @@
# optional argument --grub causes kdump kernel cmdline to
# be added to rt kernel grub entries
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
me=$(basename $0)
rpmcmd='rpm -q --last'

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
[Unit]
Description=RHEL-RT environment details setup
After=syslog.target
@ -9,4 +11,3 @@ ExecStart=/usr/bin/rt-setup
[Install]
WantedBy=multi-user.target

View File

@ -1,4 +1,6 @@
#
# Decide whether to turn off SLUB cpu_partial support
#
# SPDX-License-Identifier: GPL-2.0-or-later
SLUB_CPU_PARTIAL="off"

View File

@ -1,4 +1,5 @@
#!/usr/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
on_rt () {
if [ -f /sys/kernel/realtime ]; then

View File

@ -2,6 +2,7 @@
#
# rt-setup - script to handle setup for running an RT kernel
#
# SPDX-License-Identifier: GPL-2.0-or-later
# chkconfig: 2345 00 99
# description: This script is used to setup services for use with a \
# realtime Linux kernel \

View File

@ -1,5 +1,6 @@
# This file specifies reasonable default limits for users
# who should be able to run realtime processes.
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Such users must be added to group 'realtime' to be
# affected by these limits.

View File

@ -1,5 +1,7 @@
# udev rules specific to RHEL-RT Realtime kernel
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# insure /dev/rtc points to /dev/rtc0
# we use PROGRAM rather than SYMLINK because there is
# a (good) possibility that a /dev/rtc device file

View File

@ -1,5 +1,7 @@
#!/usr/bin/bash
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# the following is the chkconfig init header
#
# rtapp-example: processor frequency scaling support

View File

@ -3,6 +3,8 @@
# shell script to turn SLUB cpu_partial logic off
# for improved determinism
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
if [ "$(id -u)" != "0" ]; then
echo "Must be root to run $(basename $0)"

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
Looking at the specfile, here's what realtime-setup gets you:
1. Create a realtime group: