fix(arje): saneo ente-→arje- en scripts y seeds de boot

El rename ente→arje dejó referencias stale al binario PID 1 y a los
shims. Los nombres reales (verificados con cargo metadata) son todos
arje-*: arje-zero, los 14 arje-*-compat, arje-echo, arje-policy-provider,
arje-bus, arje-brain.

- build-arje-initrd.sh, install-arje-as-init.sh, uninstall-arje.sh,
  run-arje-qemu.sh: `-p ente-*` → `-p arje-*`, paths /sbin/arje-zero y
  /usr/sbin/arje-*, RUST_LOG arje_zero=info.
- seeds/arje-prod y arje-host: los exec `/usr/sbin/ente-*-compat`
  apuntaban a binarios que no existirían tras instalar — corregidos a
  `/usr/sbin/arje-*`. (validate.sh no chequea exec, por eso «validaban»
  igual; al boot real habrían fallado.)

Intactos a propósito: `/ente/` (directorio canónico de la Semilla) y
`ente.slice/*` (jerarquía cgroup). Las 3 seeds validan.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
sergio
2026-05-22 00:40:34 +00:00
parent 663fd6e38a
commit 3339fb009c
6 changed files with 85 additions and 85 deletions
+8 -8
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# uninstall-arje.sh — revierte lo que install-arje-as-init.sh hizo.
#
# - Borra /usr/sbin/ente-* y /usr/bin/{brahman-status,busctl,brainctl}.
# - Borra /usr/sbin/arje-* y /usr/bin/{brahman-status,busctl,brainctl}.
# - Borra el bloque ARJE-MENUENTRY de /etc/grub.d/40_custom.
# - Regenera grub.cfg.
# - NO toca /ente/seed.card.json (querés conservar customización).
@@ -15,13 +15,13 @@ if [ "$(id -u)" -ne 0 ]; then
fi
echo "[uninstall-arje] removiendo binarios"
rm -f /usr/sbin/ente-zero
for b in ente-echo ente-policy-provider \
ente-logind-compat ente-hostnamed-compat ente-timedated-compat \
ente-localed-compat ente-journald-compat ente-resolved-compat \
ente-polkit-compat ente-machined-compat ente-systemd1-compat \
ente-notify-compat ente-timer-compat ente-tmpfiles-compat \
ente-binfmt-compat; do
rm -f /usr/sbin/arje-zero
for b in arje-echo arje-policy-provider \
arje-logind-compat arje-hostnamed-compat arje-timedated-compat \
arje-localed-compat arje-journald-compat arje-resolved-compat \
arje-polkit-compat arje-machined-compat arje-systemd1-compat \
arje-notify-compat arje-timer-compat arje-tmpfiles-compat \
arje-binfmt-compat; do
rm -f "/usr/sbin/$b"
done
for e in brahman-status busctl brainctl; do