58 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
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
Rudi Heitbaum 81dcfe52dd udevil: compile error with gcc-15
upstreamed at https://github.com/alpharde/udevil - PR 4
2024-11-25 09:48:29 +00:00
CvH 2237555141 cleanup packages: various 2024-08-01 11:53:51 +02:00
Matthias Reichl 3cbc735cfb udevil: fix mount call in mount.ntfs helper script
The documented format of the -t option is "-t type", not "-ttype".

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-08 14:30:00 +01:00
Matthias Reichl e66a2437a4 udevil: support custom udevil.conf in /storage/.config
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-11-10 10:23:42 +01:00
CvH 1fb0799ebd Merge pull request #7282 from heitbaum/udevil
udevil: update to alpharde fork and config
2023-10-22 11:52:27 +02:00
heitbaum d4d64bb524 udevil: update to alpharde fork and config
Use updated alpharde fork
- https://github.com/alpharde/udevil

KNOWN_FILESYSTEMS includes exfat now
2023-10-22 08:15:34 +00:00
mglae ce95687080 udevil: improve mount.ntfs script
Explicit mount ntfs3 fs. Avoid log spam by performing automatic
mount over all file systems. Explicit Ntfs3 module load can be
dropped.
2023-04-02 12:23:39 +02:00
heitbaum 1b87c37092 udevil: add handler for ntfs3 2021-12-08 21:49:47 +00:00
Ian Leonard b31ce30170 sysutils: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:16 +00:00
Ian Leonard 8d04ffe5da exfat-fuse: remove package to make way for mainline driver
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-11-11 17:25:23 +00:00
adufray 9a7a7f5467 Update packages/sysutils/udevil/udev.d/95-udevil-mount.rules
Co-Authored-By: MilhouseVH <MilhouseVH@users.noreply.github.com>
2019-07-04 11:48:08 -05:00
adufray f15c06cd5c Include /dev/nvme* for automounting m.2 devices 2019-07-04 10:47:34 -05:00
Matthias Reichl e9e33e48eb udevil: don't change permissions of mounted filesystems
Setting mount_point_mode results in permanent changes of filesystem
permissions, trashing permissions users may have manually set up.

Udisks2 doesn't do that either so drop that option.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-13 11:23:20 +01:00
CvH 85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH 4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH 4317bc5002 cleanup: remove PKG_SECTION 2018-10-22 15:06:11 +02:00
CvH 1b9cbdaf26 spdx: packages/sysutils 2018-07-18 22:37:47 +02:00
Sascha Kuehndel (InuSasha) 3846ec7dac buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
cvh 837b447b7c decommission PKG_IS_ADDON 2017-10-16 00:01:20 +02:00
Christian Hewitt 38013dbc00 Merge pull request #1800 from MilhouseVH/udev_cleanup
udev: cleanup
2017-07-22 21:49:57 +04:00
Peter Vicman 50a51452be build system: add sha256 checksum to all packages
putting #1597 in use
2017-07-17 20:49:23 +02:00
MilhouseVH fffd87426c udevil-mount: avoid mounting already mounted partitions 2017-07-16 20:03:37 +01:00