PaganOS Luna 0.6.0
PL EN DE
← PaganLinux

Commit a18a93c

0
plików
+0
dodanych
-0
usuniętych
@@ -1161,7 +1161,16 @@ _prepare_rootfs_skeleton() {
1161 1161 mkdir -p "$PAGAN_ROOT"/{dev/pts,etc/pag,etc/systemd/system,var/lib/pag,var/cache/pag,var/log,usr/share/pag}
1162 1162 chmod 1777 "$PAGAN_ROOT/tmp"
1163 1163 chmod 700 "$PAGAN_ROOT/root"
1164 - ok "katalogi bazowe utworzone"
1164 +
1165 + # ── loader dynamiczny: /lib64/ld-linux-x86-64.so.2 ──────────────────
1166 + # ELF-y mają interpreter /lib64/ld-linux-x86-64.so.2, a glibc z repo
1167 + # instaluje go do /lib (merged-usr nie jest tu używany). Bez dowiązania
1168 + # KAŻDA dynamiczna binarka w chrootcie kończy się „No such file or
1169 + # directory” – w tym pag, python i bash.
1170 + [[ -e "$PAGAN_ROOT/lib64" ]] || ln -s lib "$PAGAN_ROOT/lib64"
1171 + [[ -e "$PAGAN_ROOT/usr/lib64" ]] || ln -s ../lib "$PAGAN_ROOT/usr/lib64"
1172 +
1173 + ok "katalogi bazowe utworzone (lib64 → lib)"
1165 1174 }
1166 1175
1167 1176 # ========================= BOOTSTRAP Z REPO =========================