Merge pull request #516 from fewtarius/dev
Set umask 000 on the games partition, and fix a duckstationsa oops.
This commit is contained in:
commit
b32a8a012c
2 changed files with 4 additions and 4 deletions
|
@ -21,12 +21,12 @@ esac
|
|||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DENABLE_X11=OFF"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DUSE_X11=OFF"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DENABLE_X11=OFF \
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DUSE_X11=OFF \
|
||||
-DUSE_DRMKMS=ON \
|
||||
-DENABLE_EGL=ON \
|
||||
-DUSE_MALI=OFF"
|
||||
|
@ -34,7 +34,7 @@ fi
|
|||
|
||||
if [ "${DISPLAYSERVER}" = "wl" ]; then
|
||||
PKG_DEPENDS_TARGET+=" wayland ${WINDOWMANAGER} xorg-server xrandr libXi"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DENABLE_X11=ON"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" -DUSE_X11=ON"
|
||||
fi
|
||||
|
||||
pre_configure_target() {
|
||||
|
|
|
@ -12,7 +12,7 @@ mount_games() {
|
|||
NULL=$(grep ${1} /proc/mounts >/dev/null 2>&1)
|
||||
if [ ! "$?" = "0" ] && [ -e "${1}" ] && [ ! -e "/storage/.please_resize_me" ]
|
||||
then
|
||||
mount ${1} /storage/roms >/dev/null 2>&1
|
||||
mount -o umask=000 ${1} /storage/roms >/dev/null 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue