fix(live): restore airootfs symlinks so DNS works in the installer
Seventeen files that must be symlinks were checked out as plain text files containing their target (Git for Windows creates no symlinks by default), and have been stored that way since the repository migration. Three of them break the installer: - /etc/resolv.conf holds the literal string "/run/systemd/resolve/stub-resolv.conf", so the glibc resolver finds no nameserver at all: no DNS in the live session, and "pacman -S <desktop>" fails in the middle of %post. - etc/systemd/system-generators/systemd-gpt-auto-generator -> /dev/null is a MASK. As a regular file the mask is void and systemd auto-mounts the target disk's GPT partitions during installation. - The dbus-org.freedesktop.* aliases and the *.target.wants/* links become invalid units. build.sh now rebuilds them in the build tree, so the result no longer depends on which OS the repository was cloned on. systemd-resolved and fws-rootfsbase are enabled alongside NetworkManager (they carry an [Install] section but no activation link survived the migration), and NetworkManager delegates DNS to resolved -- the same setup the %post applies to the installed system. Signed-off-by: nocode <suzuku295@gmail.com>
This commit is contained in:
1 parent
8a83612237
commit
21808ca05e
19 files changed
+76
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# FWS — DNS du LIVE : NetworkManager délègue à systemd-resolved.
|
||||
#
|
||||
# /etc/resolv.conf du live est un lien vers le stub de systemd-resolved
|
||||
# (127.0.0.53). Sans cette ligne, NetworkManager croit gérer resolv.conf
|
||||
# lui-même et n'envoie jamais les serveurs DNS du DHCP à resolved : le lien
|
||||
# pointe alors sur un stub muet → « le réseau marche mais rien ne résout »,
|
||||
# et « pacman -S <bureau> » échoue en plein milieu de l'installation.
|
||||
#
|
||||
# Même réglage que celui posé sur le système installé par le %post du
|
||||
# kickstart (étape 6) : le live et la cible se comportent pareil.
|
||||
[main]
|
||||
dns=systemd-resolved
|
||||
Reference in new issue
Block a user