From 2aaf1cbfd5309ec586385f5fbd450f1902aab305 Mon Sep 17 00:00:00 2001 From: nocode Date: Sat, 4 Jul 2026 02:52:18 +0200 Subject: [PATCH] chore(baseline): add anaconda summary hub glade override in xinitrc Add logic to override the anaconda summary hub glade file at live boot time. The custom glade file is stored in /usr/local/share/fws and copied to /usr/share/anaconda/ui/hubs/summary.glade during X initialization. This workaround is necessary because mkarchiso applies the airootfs overlay before pacstrap, which prevents pacman from installing anaconda over existing files. The file is therefore delivered to /usr/local/share/fws and overlaid at boot when the live overlay is writable. --- configs/baseline/airootfs/root/.xinitrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/baseline/airootfs/root/.xinitrc b/configs/baseline/airootfs/root/.xinitrc index 78f6968..d9c898d 100644 --- a/configs/baseline/airootfs/root/.xinitrc +++ b/configs/baseline/airootfs/root/.xinitrc @@ -53,6 +53,17 @@ if command -v liveinst >/dev/null 2>&1; then _SPLASH_PID=$! fi + # Hub Résumé SANS le libellé « We won't touch your disks… » : notre glade + # modifié NE PEUT PAS être livré directement à son chemin final — + # mkarchiso pose l'overlay airootfs AVANT pacstrap, et pacman refuse + # alors d'installer anaconda par-dessus (« exists in filesystem »). On le + # livre donc sous /usr/local/share/fws et on ÉCRASE ici, au boot du live + # (l'overlay du live est inscriptible), le fichier du paquet. + if [ -f /usr/local/share/fws/anaconda-summary-hub.glade ]; then + cp -f /usr/local/share/fws/anaconda-summary-hub.glade \ + /usr/share/anaconda/ui/hubs/summary.glade 2>/dev/null || true + fi + LIVEINST_LOG=/tmp/fws-liveinst.log # Bus D-Bus de SESSION : au démarrage (--liveinst), inhibit_screensaver() # de pyanaconda se connecte au bus de session. S'il n'y en a AUCUN (notre