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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user