Work on box86/64 continues.
This commit is contained in:
parent
90b383dc98
commit
6a4169d747
6 changed files with 36 additions and 7 deletions
|
@ -21,7 +21,12 @@ makeinstall_target() {
|
|||
cp ${PKG_BUILD}/.${TARGET_NAME}/box64 ${INSTALL}/usr/bin
|
||||
cp ${PKG_BUILD}/tests/bash ${INSTALL}/usr/bin/bash-x64
|
||||
|
||||
mkdir -p ${INSTALL}/usr/config
|
||||
cp ${PKG_DIR}/config/box64.box64rc ${INSTALL}/usr/config/box64.box64rc
|
||||
|
||||
mkdir -p ${INSTALL}/etc
|
||||
ln -sf /storage/.config/box64.box64rc ${INSTALL}/etc/box64.box64rc
|
||||
|
||||
mkdir -p ${INSTALL}/etc/binfmt.d
|
||||
cp -f ${PKG_DIR}/config/box64.conf ${INSTALL}/etc/binfmt.d/box64.conf
|
||||
cp -f ${PKG_DIR}/config/box64.box64rc ${INSTALL}/etc/box64.box64rc
|
||||
}
|
||||
|
|
7
packages/compat/box64/profile.d/98-box64
Normal file
7
packages/compat/box64/profile.d/98-box64
Normal file
|
@ -0,0 +1,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
export BOX64_PREFER_EMULATED=1
|
||||
export BOX64_LD_LIBRARY_PATH="/usr/share/box64/lib"
|
||||
export BOX64_BASH="/usr/bin/bash-x64"
|
||||
export BOX64_LOG=0
|
|
@ -6,11 +6,6 @@
|
|||
# Linux process
|
||||
#
|
||||
|
||||
|
||||
BOX86_LD_LIBRARY_PATH="/usr/share/box86/lib"
|
||||
BOX86_BASH="/usr/bin/bash-x86"
|
||||
BOX86_LOG=0
|
||||
|
||||
[7z]
|
||||
# Those are safe to use on 7z and give a bit of a boost
|
||||
BOX86_DYNAREC_SAFEFLAGS=0
|
||||
|
|
|
@ -42,7 +42,12 @@ makeinstall_target() {
|
|||
;;
|
||||
esac
|
||||
|
||||
mkdir -p ${INSTALL}/usr/config
|
||||
cp ${PKG_DIR}/config/box86.box86rc ${INSTALL}/usr/config/box86.box86rc
|
||||
|
||||
mkdir -p ${INSTALL}/etc
|
||||
ln -sf /storage/.config/box86.box86rc ${INSTALL}/etc/box86.box86rc
|
||||
|
||||
mkdir -p ${INSTALL}/etc/binfmt.d
|
||||
cp -f ${PKG_DIR}/config/box86.conf ${INSTALL}/etc/binfmt.d/box86.conf
|
||||
cp ${PKG_DIR}/config/box86.box86rc ${INSTALL}/etc/box86.box86rc
|
||||
}
|
||||
|
|
8
packages/compat/box86/profile.d/98-box86
Normal file
8
packages/compat/box86/profile.d/98-box86
Normal file
|
@ -0,0 +1,8 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
export BOX86_PREFER_EMULATED=1
|
||||
export BOX86_LD_LIBRARY_PATH="/usr/share/box86/lib"
|
||||
export BOX86_BASH="/usr/bin/bash-x86"
|
||||
export BOX86_LOG=0
|
||||
alias box86='LD_LIBRARY_PATH=/usr/lib32:/usr/lib32/gles /usr/bin/box86'
|
|
@ -180,3 +180,12 @@ fi
|
|||
|
||||
### Force everyone to the stable repo
|
||||
set_setting updates.branch stable
|
||||
|
||||
### Configure box86/64 defaulta
|
||||
for BOX in box86 box64
|
||||
do
|
||||
if [ ! -e "/storage/.config/${BOX}.${BOX}rc" ]
|
||||
then
|
||||
cp -f /usr/config/${BOX}.${BOX}rc /storage/.config/
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue