From 9eadf05c007f80b99e4a4369ac894f65cbd6a1a7 Mon Sep 17 00:00:00 2001 From: spycat88 Date: Mon, 16 Dec 2024 21:50:30 +0000 Subject: [PATCH 1/5] emulators: rename jelos ref --- .../tmpfiles.d/{jelos-dirs.conf => rocknix-dirs.conf} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename packages/virtual/emulators/tmpfiles.d/{jelos-dirs.conf => rocknix-dirs.conf} (57%) diff --git a/packages/virtual/emulators/tmpfiles.d/jelos-dirs.conf b/packages/virtual/emulators/tmpfiles.d/rocknix-dirs.conf similarity index 57% rename from packages/virtual/emulators/tmpfiles.d/jelos-dirs.conf rename to packages/virtual/emulators/tmpfiles.d/rocknix-dirs.conf index 80cb02100..c9641ee71 100644 --- a/packages/virtual/emulators/tmpfiles.d/jelos-dirs.conf +++ b/packages/virtual/emulators/tmpfiles.d/rocknix-dirs.conf @@ -1,6 +1,6 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC) -# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2022-24 JELOS (https://github.com/JustEnoughLinuxOS) +# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX) d /storage/.tmp/games-workdir 0777 root root - - d /storage/games-internal 0777 root root - - From 70640f6773d6c469bc34e5ceba40abbdd0dc7db3 Mon Sep 17 00:00:00 2001 From: spycat88 Date: Tue, 17 Dec 2024 21:04:18 +0000 Subject: [PATCH 2/5] rocknix: remove ipv6 toggle --- packages/rocknix/autostart/002-kernel | 2 -- .../rocknix/config/system/configs/system.cfg | 1 - packages/rocknix/sources/scripts/toggle-ipv6 | 16 ---------------- 3 files changed, 19 deletions(-) delete mode 100755 packages/rocknix/sources/scripts/toggle-ipv6 diff --git a/packages/rocknix/autostart/002-kernel b/packages/rocknix/autostart/002-kernel index e0243f504..af4c266f8 100755 --- a/packages/rocknix/autostart/002-kernel +++ b/packages/rocknix/autostart/002-kernel @@ -10,5 +10,3 @@ sysctl vm.swappiness=1 sysctl kernel.nmi_watchdog=0 sysctl vm.laptop_mode=5 sysctl vm.dirty_writeback_centisecs=1500 - -toggle-ipv6 diff --git a/packages/rocknix/config/system/configs/system.cfg b/packages/rocknix/config/system/configs/system.cfg index bc9c962b4..70db998e4 100644 --- a/packages/rocknix/config/system/configs/system.cfg +++ b/packages/rocknix/config/system/configs/system.cfg @@ -91,7 +91,6 @@ global.runahead=0 global.secondinstance=0 intellivision.integerscale=0 intellivision.ratio=4/3 -ipv6.enabled=1 mame.autosave=0 mame.integerscale=0 mastersystem.integerscale=0 diff --git a/packages/rocknix/sources/scripts/toggle-ipv6 b/packages/rocknix/sources/scripts/toggle-ipv6 deleted file mode 100755 index 2e4fc62ab..000000000 --- a/packages/rocknix/sources/scripts/toggle-ipv6 +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) - -. /etc/profile - -if [ "$(get_setting ipv6.enabled)" == "1" ] -then - sysctl net.ipv6.conf.all.disable_ipv6=0 - sysctl net.ipv6.conf.default.disable_ipv6=0 - sysctl net.ipv6.conf.lo.disable_ipv6=0 -else - sysctl net.ipv6.conf.all.disable_ipv6=1 - sysctl net.ipv6.conf.default.disable_ipv6=1 - sysctl net.ipv6.conf.lo.disable_ipv6=1 -fi From 47c85942de8da857674924d30966c9fb1e0c6d15 Mon Sep 17 00:00:00 2001 From: spycat88 Date: Tue, 17 Dec 2024 21:27:35 +0000 Subject: [PATCH 3/5] rocknix: move sysctl calls to a dedicated conf --- packages/rocknix/autostart/002-kernel | 12 ------------ .../sysutils/systemd/config/sysctl.d/rocknix.conf | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) delete mode 100755 packages/rocknix/autostart/002-kernel create mode 100644 packages/sysutils/systemd/config/sysctl.d/rocknix.conf diff --git a/packages/rocknix/autostart/002-kernel b/packages/rocknix/autostart/002-kernel deleted file mode 100755 index af4c266f8..000000000 --- a/packages/rocknix/autostart/002-kernel +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) - -# Minimal OS variable loading for performance -. /etc/profile.d/001-functions - -tocon "Applying kernel parameters..." -sysctl vm.swappiness=1 -sysctl kernel.nmi_watchdog=0 -sysctl vm.laptop_mode=5 -sysctl vm.dirty_writeback_centisecs=1500 diff --git a/packages/sysutils/systemd/config/sysctl.d/rocknix.conf b/packages/sysutils/systemd/config/sysctl.d/rocknix.conf new file mode 100644 index 000000000..6c0b66238 --- /dev/null +++ b/packages/sysutils/systemd/config/sysctl.d/rocknix.conf @@ -0,0 +1,4 @@ +vm.swappiness=1 +kernel.nmi_watchdog=0 +vm.laptop_mode=5 +vm.dirty_writeback_centisecs=1500 From cdead98fb2d41516747fa3d9c798a579b517575f Mon Sep 17 00:00:00 2001 From: spycat88 Date: Tue, 17 Dec 2024 23:20:28 +0000 Subject: [PATCH 4/5] rocknix: update default save settings --- packages/rocknix/config/system/configs/system.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rocknix/config/system/configs/system.cfg b/packages/rocknix/config/system/configs/system.cfg index 70db998e4..952bc80cd 100644 --- a/packages/rocknix/config/system/configs/system.cfg +++ b/packages/rocknix/config/system/configs/system.cfg @@ -67,9 +67,9 @@ genh.integerscale=0 genh.ratio=4/3 ggh.integerscale=0 global.analogue=1 -global.autosave=2 +global.autosave=1 +global.savestates=1 global.incrementalsavestates=0 -global.maxincrementalsaves=0 global.netplay=0 global.netplay.port=55435 global.netplay.relay=none From 6785ae8fba9d7603ab416d5b7729e6c4929fce5e Mon Sep 17 00:00:00 2001 From: spycat88 Date: Tue, 17 Dec 2024 23:25:07 +0000 Subject: [PATCH 5/5] emulationstation: bump package --- 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 db0ebc2e0..b2f519503 100644 --- a/packages/ui/emulationstation/package.mk +++ b/packages/ui/emulationstation/package.mk @@ -4,7 +4,7 @@ # Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX) PKG_NAME="emulationstation" -PKG_VERSION="5bdf832777557966fa70c0871edb8af061bf32c1" +PKG_VERSION="d745ba3e5e03850ec50592de2bb654db37503219" PKG_GIT_CLONE_BRANCH="master" PKG_LICENSE="GPL" PKG_SITE="https://github.com/ROCKNIX/emulationstation-next"