Merge pull request #294 from fewtarius/dev

Dev
This commit is contained in:
fewtarius 2022-07-30 11:58:49 -04:00 committed by GitHub
commit 60c897d8db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 53 deletions

View file

@ -0,0 +1,3 @@
STATE=$(get_setting tailscale.up)
SVC="tailscaled"
DAEMONS=("tailscaled")

View file

@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present kkoshelev (https://github.com/kkoshelev)
# Copyright (C) 2022-present fewtarius (https://github.com/fewtarius)
PKG_NAME="tailscale"
PKG_VERSION="1.26.1"
@ -15,8 +16,8 @@ if [ ! "${TARGET_ARCH}" = "x86_64" ]; then
fi
pre_unpack() {
mkdir -p $PKG_BUILD
tar --strip-components=1 -xf $SOURCES/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tgz -C $PKG_BUILD tailscale_${PKG_VERSION}_arm64
mkdir -p ${PKG_BUILD}
tar --strip-components=1 -xf $SOURCES/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tgz -C ${PKG_BUILD} tailscale_${PKG_VERSION}_arm64
}
makeinstall_target() {
@ -28,6 +29,3 @@ makeinstall_target() {
cp -R ${PKG_DIR}/config/tailscaled.defaults ${INSTALL}/usr/config
}
post_install() {
enable_service tailscaled.service
}

View file

@ -3,7 +3,7 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="6163e8e"
PKG_VERSION="098226b"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"

View file

@ -21,7 +21,7 @@ GET_HANDLER_SUPPORT="git"
case ${DEVICE} in
RG351P|RG351V|RG351MP)
PKG_URL="${PKG_SITE}/rk3326-kernel.git"
PKG_VERSION="effc106f9"
PKG_VERSION="a19b4df7c"
;;
RG552)
PKG_URL="${PKG_SITE}/rk3399-kernel.git"

View file

@ -1,44 +0,0 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
if [ $# -eq 0 ] || [ "$1" == "boot" ]
then
PROFILE=$(get_setting system.overclock)
else
PROFILE=$1
fi
### Default clocks when not using OC.
CORES="1296000"
GPU="480000000"
DRAM="786000000"
freqset() {
echo "${CORES}" >${CPU_FREQ[0]}/scaling_max_freq
echo ${GPU} >${GPU_FREQ}/max_freq
echo ${DRAM} >${DMC_FREQ}/max_freq
}
case ${PROFILE} in
mem)
DRAM="850000000"
;;
gpu)
GPU="560000000"
DRAM="850000000"
;;
cpu-stable)
CORES="1368000"
DRAM="850000000"
;;
max-stable)
CORES="1368000"
GPU="560000000"
DRAM="850000000"
;;
esac
freqset