mirror of
https://github.com/linuxserver/docker-baseimage-selkies.git
synced 2026-03-16 00:02:11 +08:00
add option to disable interposer
This commit is contained in:
parent
90f7c0508d
commit
9f94fae243
@ -189,9 +189,10 @@ RUN \
|
||||
echo "**** install selkies fake udev ****" && \
|
||||
cd ../fake-udev && \
|
||||
make && \
|
||||
mkdir /opt/lib && \
|
||||
mv \
|
||||
libudev.so.1.0.0-fake \
|
||||
/usr/lib/ && \
|
||||
/opt/lib/ && \
|
||||
echo "**** add icon ****" && \
|
||||
mkdir -p \
|
||||
/usr/share/selkies/www && \
|
||||
|
||||
@ -190,7 +190,7 @@ RUN \
|
||||
make && \
|
||||
mv \
|
||||
libudev.so.1.0.0-fake \
|
||||
/usr/lib/ && \
|
||||
/opt/lib/ && \
|
||||
echo "**** add icon ****" && \
|
||||
mkdir -p \
|
||||
/usr/share/selkies/www && \
|
||||
|
||||
@ -59,7 +59,6 @@ fi
|
||||
|
||||
|
||||
# set env based on vars
|
||||
#printf "${SELKIES_INTERPOSER}${LD_PRELOAD:+:${LD_PRELOAD}}" > /run/s6/container_environment/LD_PRELOAD
|
||||
printf "${GST_DEBUG:-*:1}" > /run/s6/container_environment/GST_DEBUG
|
||||
printf "${SELKIES_ENCODER:-x264enc}" > /run/s6/container_environment/SELKIES_ENCODER
|
||||
printf "${SELKIES_FRAMERATE:-60}" > /run/s6/container_environment/SELKIES_FRAMERATE
|
||||
@ -69,7 +68,10 @@ printf "${DISPLAY_SIZEH:-768}" > /run/s6/container_environment/DISPLAY_SIZEH
|
||||
printf "${DISPLAY_REFRESH:60}" > /run/s6/container_environment/DISPLAY_REFRESH
|
||||
printf "${DISPLAY_DPI:-96}" > /run/s6/container_environment/DISPLAY_DPI
|
||||
printf "${DISPLAY_CDEPTH:-24}" > /run/s6/container_environment/DISPLAY_CDEPTH
|
||||
printf "/usr/lib/selkies_joystick_interposer.so:/usr/lib/libudev.so.1.0.0-fake" > /run/s6/container_environment/LD_PRELOAD
|
||||
if [[ -z ${NO_GAMEPAD+x} ]]; then
|
||||
printf "/usr/lib/selkies_joystick_interposer.so:/opt/lib/libudev.so.1.0.0-fake" > /run/s6/container_environment/LD_PRELOAD
|
||||
fi
|
||||
|
||||
# JS folder setup
|
||||
mkdir -pm1777 /dev/input
|
||||
touch /tmp/selkies_js.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user