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 # realtime-setup
# SPDX-License-Identifier: GPL-2.0-or-later
The realtime-setup package The realtime-setup package

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,6 @@
# This file specifies reasonable default limits for users # This file specifies reasonable default limits for users
# who should be able to run realtime processes. # 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 # Such users must be added to group 'realtime' to be
# affected by these limits. # affected by these limits.

View File

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

View File

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

View File

@ -3,6 +3,8 @@
# shell script to turn SLUB cpu_partial logic off # shell script to turn SLUB cpu_partial logic off
# for improved determinism # for improved determinism
# #
# SPDX-License-Identifier: GPL-2.0-or-later
#
if [ "$(id -u)" != "0" ]; then if [ "$(id -u)" != "0" ]; then
echo "Must be root to run $(basename $0)" 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: Looking at the specfile, here's what realtime-setup gets you:
1. Create a realtime group: 1. Create a realtime group: