393 Commits

Author SHA1 Message Date
Douglas Teles d06e18a2ad gaps: ampla varredura de bugs herdados + pré-pacman repo-stable
A varredura via SSH no R36S rodando a 20260624 expôs várias
divergências entre rootfs estagiado e tmpfs/runtime. Cada arquivo
deste commit resolve um gap encontrado na investigação.

archr/tmpfiles.d/z_02_archr-fhs-bridges.conf (NEW):
  /var é tmpfs (busybox/system.d/var.mount), então todos os bridges
  FHS instalados como symlinks no rootfs eram apagados pelo mount.
  Republicar a estrutura via systemd-tmpfiles após var.mount. Resolve
  /var/lib/pacman, /var/cache/archr/*, /var/lib/archr/{config,data,
  games,backup}, /var/lib/{samba/private,tailscale,bluetooth},
  /var/spool/cron, /var/cache/pacman/pkg. Inclui também os targets em
  /storage (cron, locpath, tailscale, samba, .local/share, fstrim.run,
  journald.conf.d, request-key.d) que estavam ausentes.

ui/emulationstation/package.mk:
  ln -sf usava \${INSTALL}/usr/config/... como alvo, vazando o caminho
  absoluto do builder para o symlink /etc/emulationstation/es_systems.cfg
  no SO final. Trocar pelo path do target.

archr/system.d/timers.target.wants/{rocknix→archr}-report-stats.timer:
  Symlink apontava para um arquivo inexistente (rocknix-report-stats);
  o timer real chama-se archr-report-stats. Renome.

misc/modules/sources/images/install-{rocknix→archr}.svg:
  gamelist.xml já referenciava install-archr.svg; o arquivo se chamava
  install-rocknix.svg, quebrando o asset.

emulators/.../gamepads/ROCKNIX→ArchR Gamepad.cfg:
  Conteúdo já estava com input_device="ArchR Gamepad"; rename casa o
  nome de arquivo com a string de matching.

archr/package.mk + profile.d/005-locale:
  LANG="" no SO rodando, todas LC_*=POSIX. glibc gera en_US.UTF-8.
  Criar /etc/locale.conf e profile.d que source-a para shells de login
  e SSH (que não herdam LANG via systemd env).

sysutils/systemd/scripts/userconfig-setup + freej2me-lr/freej2me.sh:
  /storage/jdk caiu como arquivo vazio em algumas builds antigas e
  transforma o symlink /opt/jdk em "Not a directory". Saneamento
  duplo: a cada boot e antes do download do JDK.

devel/crossguid/package.mk + standalone/hypseus-singe/package.mk:
  cmake_install.cmake / crossguid-config.cmake embutiam o BUILD path
  do host. Remover dos pacotes target (não rodam em runtime).

tools/pyFDT/package.mk + network/samba/package.mk:
  setuptools e waf escrevem o python3 do TOOLCHAIN no shebang dos
  entry-points (pydtc, samba-gpupdate). Reescrever pra /usr/bin/python3.

sysutils/systemd/package.mk:
  systemd-sysroot-fstab-check é um symlink para
  systemd-fstab-generator, que removemos para fora dos generators.
  Apagar o link junto. Strip também a regra do legacy.conf que cria
  /var/log/README apontando para /usr/share/doc (não embarcamos docs).

sysutils/udevil/package.mk:
  /etc/udevil/udevil-user-root.conf é symlink para
  /storage/.config/udevil.conf que nunca era populado. Copiar a conf
  também para /usr/config/udevil.conf, daí o rsync do userconfig-setup
  o semeia no primeiro boot.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-24 02:44:45 -03:00
Douglas Teles b56fd7cce6 Sync sysutils fixes from ROCKNIX
systemd: re-enable timedated (was -Dtimedated=false). Drop the
post-install safe_remove that nuked /usr/bin/timedatectl so users
can finally run timedatectl set-timezone from the shell. Two
upstream-equivalent patches accompany the build: 0600 redirects
the timedated write target to /var/run/localtime (writable on our
read-only rootfs), 0601 makes the timezone reader follow indirect
symlinks (matches the /etc -> /storage layout).

udevil: pull the cleaned udevil.conf (UFS gate moved from
allowed_devices to forbidden_devices, /dev/sd* whitelisted as
removable). The udev rule now bails on anything that is not
usb-storage. Internal mmc devices were never matched by the prior
KERNEL=="sd*|sr*" filter anyway, but this makes the intent
explicit and stops misclassified eSATA-like devices.

input_sense: grep -line-buffered before the parse loop so only
EV_KEY / EV_SW / error-reading lines reach the case statement.
evtest output is mostly EV_ABS noise we threw away anyway; this
cuts the CPU spent on the dispatch hot path on every controller.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-23 14:22:51 -03:00
Douglas Teles c7017775b1 Update RK3326 Game Console Device Tree and related configurations
- Modify joypad compatibility to include "archr-joypad" in the device tree source.
- Adjust internal display settings to use the same reset GPIO and add enable GPIO.
- Remove SDIO card detect GPIO and mark it as non-removable.
- Update the joypad driver in the MIPI generator to use "archr-joypad".
- Fix Vulkan custom dispatchers to restrict header version checks.
- Add system manager timeout overrides for improved shutdown performance.
- Update kernel configuration to version 6.12.79 and enable BFQ I/O scheduler.
- Clean up GPU governor settings in post-update scripts.
- Update PPSSPP emulator to version 1.20.2 and apply necessary patches.
- Adjust SDL2 and Mesa package dependencies and versions.
- Update Vulkan headers and loader to version 1.4.347.
- Add udev rules for BFQ scheduler and systemd configuration for shutdown timeout.
- Implement input sense adjustments for better button mapping.
- Add clock speed settings to EmulationStation configuration.
- Disable rumble motor on boot to prevent unwanted vibrations.
2026-04-02 12:23:19 -03:00
Douglas Teles 1a65e2992e OS perf: mitigations=off, -O3 for emulation stack, volatile journald, audit disabled 2026-03-24 21:00:47 -03:00
Douglas Teles 33b9a09b68 OS performance: full preempt kernel, disable debug, lazy DMA, sysctl tuning, service restart limits 2026-03-24 20:45:19 -03:00
Douglas Teles c542304146 New architecture release 2026-03-18 17:32:41 -03:00
Ian Leonard ddc2e2bcaf systemd: remove systemd-creds
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2025-06-29 20:26:06 -04:00
Rudi Heitbaum ff492133db systemd: update to 257.7
Release notes:
- https://github.com/systemd/systemd/releases

Fixes SO_PASSSEC when used with linux-6.16-rc1+
- https://github.com/systemd/systemd issues 37783

dmesg | grep -i fail
[    1.358563] systemd[1]: systemd-journald-dev-log.socket: SO_PASSSEC failed: Operation not supported
[    1.358631] systemd[1]: systemd-journald.socket: SO_PASSSEC failed: Operation not supported
[    1.358640] systemd[1]: systemd-journald.socket: SO_PASSSEC failed: Operation not supported
2025-06-28 04:00:54 +00:00
Rudi Heitbaum baa053ce4a systemd: remove deprecated options
https://github.com/systemd/systemd/commit/31323f21bb0ae7c712f43500c42997c91a6d20bf
- meson: drop default-hierarchy= option, always use unified

https://github.com/systemd/systemd/commit/b0d3095fd6cc1791a38f57a1982116b4475244ba
- The meson options split-usr, rootlibdir and rootprefix become no-ops that print a warning if they are set to anything other than the default values. We can remove them in a future release.
2025-06-11 13:36:37 +00:00
Rudi Heitbaum 46e2a58ce3 systemd: update to 257.6
Release notes:
- https://github.com/systemd/systemd/releases
2025-05-30 13:10:13 +00:00
Rudi Heitbaum cf7330214d systemd: update to 257.5
Release notes:
- https://github.com/systemd/systemd/releases
2025-04-04 14:49:01 +00:00
Rudi Heitbaum da268573c5 systemd: update to 257.4
Release notes:
- https://github.com/systemd/systemd/releases
2025-03-07 08:49:40 +00:00
Rudi Heitbaum c51889860c systemd: update to 257.3
Release notes:
- https://github.com/systemd/systemd/releases
2025-02-14 04:15:04 +00:00
luzpaz 91a4766cef treewide: fix typos
Found via `codespell -q 3 -S "*.patch,*.po" -L acount,afile,distroname,parm,serie,synopsys`
2025-02-03 07:04:59 -05:00
Christian Hewitt f7eace1682 systemd: add foxtel remote to 70-local-keyboard.hwdb
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-01-10 10:16:03 +00:00
Rudi Heitbaum bc608d6e21 systemd: update to 257.2
Release notes:
- https://github.com/systemd/systemd/releases
2025-01-08 05:15:58 +00:00
Christian Hewitt b3f7a8667d systemd: support console login when LOCAL_LOGIN is defined
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2024-12-21 14:26:49 +00:00
Christian Hewitt 3cdaad9733 Merge pull request #8705 from heitbaum/nss 2024-12-20 23:18:03 +04:00
Rudi Heitbaum 48ab6c7576 systemd: update to 257.1
Release notes:
- https://github.com/systemd/systemd/releases
2024-12-20 03:31:34 +00:00
Rudi Heitbaum 0f8d8410c5 systemd: enable systemd-userdbd and nss-systemd for users and groups
new files:
-rwxr-xr-x 1 root root  39152 Mar  5 09:41 /usr/bin/userdbctl
-rwxr-xr-x 1 root root 404000 Mar  5 09:41 /usr/lib/libnss_systemd.so.2
-rwxr-xr-x 1 root root  18504 Mar  5 09:41 /usr/lib/systemd/systemd-userdbd
-rwxr-xr-x 1 root root  22600 Mar  5 09:41 /usr/lib/systemd/systemd-userwork
-rw-r--r-- 1 root root   1204 Mar  5 09:41 /usr/lib/systemd/system/systemd-userdbd.service
-rw-r--r-- 1 root root    691 Feb 27 17:26 /usr/lib/systemd/system/systemd-userdbd.socket
2024-12-17 11:53:25 +00:00
Rudi Heitbaum 5d86890f18 systemd: update to 257
Release notes:
- https://github.com/systemd/systemd/releases
- https://github.com/systemd/systemd/releases/tag/v257-rc1
- https://github.com/systemd/systemd/releases/tag/v257-rc2
- https://github.com/systemd/systemd/releases/tag/v257-rc3
- https://github.com/systemd/systemd/releases/tag/v257
2024-12-11 10:09:19 +00:00
Rudi Heitbaum 747ce5228c systemd: update to 256.9
Release notes:
- https://github.com/systemd/systemd/releases
2024-12-04 11:19:28 +00:00
Rudi Heitbaum f78ca38a20 systemd: update to 256.8
Release notes:
- https://github.com/systemd/systemd/releases
2024-11-15 01:56:47 +00:00
Christian Hewitt d9dd8236c5 systemd: cleanup text in openvpn.service.sample
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2024-11-01 13:41:12 +00:00
Christian Hewitt 35adce959d systemd: add bt250 remote to 70-local-keyboard.hwdb
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2024-11-01 13:41:12 +00:00