commit
2bf3015bce
4 changed files with 6 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
|||
. /etc/os-release
|
||||
|
||||
export PATH="$PATH:/usr/local/bin:/usr/bin:/storage/bin"
|
||||
|
||||
export SDL_GAMECONTROLLERCONFIG_FILE="/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt"
|
||||
|
||||
J_DIR="/storage/.config/system"
|
||||
|
|
|
@ -39,6 +39,8 @@ makeinstall_target() {
|
|||
mkdir -p ${INSTALL}/usr/config/emulationstation/resources
|
||||
cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/
|
||||
rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png
|
||||
cp ${PKG_BUILD}/es_profile ${INSTALL}/usr/config/emulationstation
|
||||
chmod 0755 ${INSTALL}/usr/config/emulationstation/es_profile
|
||||
|
||||
mkdir -p ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
|
||||
cp -rf ${PKG_DIR}/bluez/* ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
|
||||
|
|
3
packages/ui/emulationstation/sources/es_profile
Normal file
3
packages/ui/emulationstation/sources/es_profile
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
. /etc/profile
|
||||
export SDL_AUDIODRIVER=alsa
|
|
@ -4,7 +4,7 @@ ConditionPathExists=/var/lock/start.games
|
|||
|
||||
[Service]
|
||||
Environment=HOME=/storage
|
||||
EnvironmentFile=/etc/profile
|
||||
EnvironmentFile=/usr/config/emulationstation/es_profile
|
||||
ExecStartPre=/usr/bin/emustation-config
|
||||
ExecStart=/usr/bin/emulationstation --log-path /var/log
|
||||
KillMode=process
|
||||
|
|
Loading…
Reference in a new issue