Add to worker-utils scripts the LSB header

It is required for worker-utils' scripts to have LSB headers by OBS
infrastructure to build the RPM packages for openSUSE.

Change-Id: I92936f7e2c6fe80a825d23ae8f333e406c45e6d4
Story: 2005679
Task: 33679
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
This commit is contained in:
Marcela Rosales 2019-06-12 13:40:17 -05:00
parent 28c61310ac
commit eee502b6a7
4 changed files with 41 additions and 3 deletions

View File

@ -5,6 +5,16 @@
# SPDX-License-Identifier: Apache-2.0
#
################################################################################
#
### BEGIN INIT INFO
# Provides: affine-platform
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Affine platform
### END INIT INFO
# Define minimal path
PATH=/bin:/usr/bin:/usr/local/bin

View File

@ -5,10 +5,19 @@
# SPDX-License-Identifier: Apache-2.0
#
###############################################################################
#
### BEGIN INIT INFO
# Provides: affine-tasks
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: affine tasks
# Description: This script will affine tasks to the platform cores of the
# host. This ensures that system processes are constrained to platform
# cores and will not run on cores with VMs/containers.
### END INIT INFO
# This script will affine tasks to the platform cores of the host.
# This ensures that system processes are constrained to platform cores and will
# not run on cores with VMs/containers.
. /usr/bin/tsconfig
. /etc/init.d/task_affinity_functions.sh

View File

@ -5,6 +5,15 @@
# SPDX-License-Identifier: Apache-2.0
#
################################################################################
#
### BEGIN INIT INFO
# Provides: cpumap_functions
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: cpumap_functions
### END INIT INFO
source /etc/platform/platform.conf

View File

@ -5,6 +5,16 @@
# SPDX-License-Identifier: Apache-2.0
#
################################################################################
#
### BEGIN INIT INFO
# Provides: task_affinity_functions
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: task_affinity_functions
### END INIT INFO
# Define minimal path
PATH=/bin:/usr/bin:/usr/local/bin