summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-05-11 21:50:08 +0200
committer Eric Hameleers <alien@slackware.com>2019-05-11 21:50:08 +0200
commit119a6d0f8a2264e2ff76aa867bf74ac315c27167 (patch)
tree8ed3dbed3ea496337e07e8a7c6ee5237c037ec8f /make_slackware_live.sh
parent2040fdbace2e79906e1a3e827ab18926b2b08234 (diff)
downloadliveslak-119a6d0f8a2264e2ff76aa867bf74ac315c27167.tar.gz
liveslak-119a6d0f8a2264e2ff76aa867bf74ac315c27167.tar.xz
PLASMA5: add realtime capabilities like Studioware has too
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 384680d..4060590 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -212,6 +212,7 @@ NETFIRMWARE="3com acenic adaptec bnx tigon e100 sun kaweth tr_smctr cxgb3"
# If any Live variant needs additional 'append' parameters, define them here,
# either using a variable name 'KAPPEND_<LIVEDE>', or by defining 'KAPPEND' in the .conf file:
KAPPEND_SLACKWARE=""
+KAPPEND_PLASMA5="threadirqs"
KAPPEND_STUDIOWARE="threadirqs"
# Add CACert root certificates yes/no?
@@ -1992,6 +1993,14 @@ if [ "$LIVEDE" = "STUDIOWARE" ]; then
chroot ${LIVE_ROOTDIR} /usr/sbin/useradd -c "Avahi Service Account" -u 214 -g 214 -d /dev/null -s /bin/false avahi
echo "avahi:$(openssl rand -base64 12)" | chroot ${LIVE_ROOTDIR} /usr/sbin/chpasswd
+fi # End LIVEDE = STUDIOWARE
+
+if [ "$LIVEDE" = "PLASMA5" -o "$LIVEDE" = "STUDIOWARE" ]; then
+
+ # -------------------------------------------------------------------------- #
+ echo "-- Configuring $LIVEDE (RT beaviour)."
+ # -------------------------------------------------------------------------- #
+
# RT Scheduling and Locked Memory:
cat << "EOT" > ${LIVE_ROOTDIR}/etc/initscript
# Set umask to safe level:
@@ -2007,7 +2016,7 @@ ulimit -r 65
eval exec "$4"
EOT
-fi # End LIVEDE = STUDIOWARE
+fi # End LIVEDE = PLASMA5/STUDIOWARE
# You can define the function 'custom_config()' by uncommenting it in
# the configuration file 'make_slackware_live.conf'.