From 9d4acefefaa968495620ac1764d77fd1958f935e Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 30 Jul 2022 10:50:45 -0400 Subject: [PATCH 1/3] Move tailscaled to autostart to manage startup. --- packages/jelos/sources/autostart/daemons/004-tailscaled | 3 +++ packages/network/tailscale/package.mk | 8 +++----- packages/ui/emulationstation/package.mk | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 packages/jelos/sources/autostart/daemons/004-tailscaled diff --git a/packages/jelos/sources/autostart/daemons/004-tailscaled b/packages/jelos/sources/autostart/daemons/004-tailscaled new file mode 100644 index 000000000..f50adfbbf --- /dev/null +++ b/packages/jelos/sources/autostart/daemons/004-tailscaled @@ -0,0 +1,3 @@ +STATE=$(get_setting tailscale.up) +SVC="tailscaled" +DAEMONS=("tailscaled") diff --git a/packages/network/tailscale/package.mk b/packages/network/tailscale/package.mk index 056e6d788..63a7dac32 100644 --- a/packages/network/tailscale/package.mk +++ b/packages/network/tailscale/package.mk @@ -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 -} diff --git a/packages/ui/emulationstation/package.mk b/packages/ui/emulationstation/package.mk index 577415db5..330456eac 100644 --- a/packages/ui/emulationstation/package.mk +++ b/packages/ui/emulationstation/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2020-present Fewtarius PKG_NAME="emulationstation" -PKG_VERSION="6163e8e" +PKG_VERSION="9668c69" PKG_GIT_CLONE_BRANCH="main" PKG_REV="1" PKG_ARCH="any" From 847d39877d7a62cf4de436361407a17fa601017c Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 30 Jul 2022 11:12:22 -0400 Subject: [PATCH 2/3] Fix emulationstation bug. --- packages/ui/emulationstation/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/emulationstation/package.mk b/packages/ui/emulationstation/package.mk index 330456eac..d57e6e685 100644 --- a/packages/ui/emulationstation/package.mk +++ b/packages/ui/emulationstation/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2020-present Fewtarius PKG_NAME="emulationstation" -PKG_VERSION="9668c69" +PKG_VERSION="8fecf3a" PKG_GIT_CLONE_BRANCH="main" PKG_REV="1" PKG_ARCH="any" From 6c673f72d16bbe61967ae56fce4967f0b1cb833a Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 30 Jul 2022 11:58:13 -0400 Subject: [PATCH 3/3] Drop RG351x overclock. --- packages/ui/emulationstation/package.mk | 2 +- projects/Rockchip/packages/linux/package.mk | 2 +- .../system-utils/sources/devices/RG351MP | 1 - .../sources/devices/RG351P/overclock | 44 ------------------- .../system-utils/sources/devices/RG351V | 1 - 5 files changed, 2 insertions(+), 48 deletions(-) delete mode 120000 projects/Rockchip/packages/system-utils/sources/devices/RG351MP delete mode 100755 projects/Rockchip/packages/system-utils/sources/devices/RG351P/overclock delete mode 120000 projects/Rockchip/packages/system-utils/sources/devices/RG351V diff --git a/packages/ui/emulationstation/package.mk b/packages/ui/emulationstation/package.mk index d57e6e685..03f1eedbf 100644 --- a/packages/ui/emulationstation/package.mk +++ b/packages/ui/emulationstation/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2020-present Fewtarius PKG_NAME="emulationstation" -PKG_VERSION="8fecf3a" +PKG_VERSION="098226b" PKG_GIT_CLONE_BRANCH="main" PKG_REV="1" PKG_ARCH="any" diff --git a/projects/Rockchip/packages/linux/package.mk b/projects/Rockchip/packages/linux/package.mk index b071efbb7..d974e6179 100644 --- a/projects/Rockchip/packages/linux/package.mk +++ b/projects/Rockchip/packages/linux/package.mk @@ -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" diff --git a/projects/Rockchip/packages/system-utils/sources/devices/RG351MP b/projects/Rockchip/packages/system-utils/sources/devices/RG351MP deleted file mode 120000 index 0067f8043..000000000 --- a/projects/Rockchip/packages/system-utils/sources/devices/RG351MP +++ /dev/null @@ -1 +0,0 @@ -RG351P \ No newline at end of file diff --git a/projects/Rockchip/packages/system-utils/sources/devices/RG351P/overclock b/projects/Rockchip/packages/system-utils/sources/devices/RG351P/overclock deleted file mode 100755 index ffba131ed..000000000 --- a/projects/Rockchip/packages/system-utils/sources/devices/RG351P/overclock +++ /dev/null @@ -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 diff --git a/projects/Rockchip/packages/system-utils/sources/devices/RG351V b/projects/Rockchip/packages/system-utils/sources/devices/RG351V deleted file mode 120000 index 0067f8043..000000000 --- a/projects/Rockchip/packages/system-utils/sources/devices/RG351V +++ /dev/null @@ -1 +0,0 @@ -RG351P \ No newline at end of file