add SPDX tags
Signed-off-by: Clark Williams <williams@redhat.com>
This commit is contained in:
parent
25ad440b2a
commit
ffb094355a
@ -1,3 +1,4 @@
|
||||
# realtime-setup
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
The realtime-setup package
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!/usr/bin/bash -e
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
[ -e /sys/kernel/realtime ]
|
||||
|
@ -1,2 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
[main]
|
||||
enabled=1
|
||||
|
@ -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,)
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
on_rt () {
|
||||
if [ -f /sys/kernel/realtime ]; then
|
||||
|
@ -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 \
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)"
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user