PaganOS Luna 0.6.0
PL EN DE
← PaganLinux

Commit c4e452a

0
files
+0
added
-0
deleted
@@ -204,8 +204,9 @@ STACK_LUNA=(
204 204 flatpak
205 205 # pag + wydanie
206 206 pag pagan-release
207 - # narzędzia instalatora
208 - dialog rsync kbd
207 + # narzędzia instalatora + podstawowe narzędzia systemu
208 + # (fish/nano/perl są sprawdzane przez verify_rootfs; fish = domyślna powłoka)
209 + dialog rsync kbd fish nano perl
209 210 # Luna: środowisko + instalator + powitanie/sklep/ustawienia
210 211 greetd luna-desktop luna-welcome luna-installer luna-store luna-settings
211 212 )
@@ -2046,8 +2047,9 @@ if [ "$(tty 2>/dev/null)" = "/dev/tty1" ] && [ -z "${WAYLAND_DISPLAY:-}${DISPLAY
2046 2047 if [ -x /usr/bin/pagan-audio-setup ]; then
2047 2048 /usr/bin/pagan-audio-setup >/tmp/pagan-audio.log 2>&1 &
2048 2049 else
2049 - command -v pipewire >/dev/null 2>&1 && pipewire >/tmp/pipewire.log 2>&1 &
2050 - command -v wireplumber >/dev/null 2>&1 && wireplumber >/tmp/wireplumber.log 2>&1 &
2050 + command -v pipewire >/dev/null 2>&1 && pipewire >/tmp/pipewire.log 2>&1 &
2051 + command -v pipewire-pulse >/dev/null 2>&1 && pipewire-pulse >/tmp/pipewire-pulse.log 2>&1 &
2052 + command -v wireplumber >/dev/null 2>&1 && wireplumber >/tmp/wireplumber.log 2>&1 &
2051 2053 fi
2052 2054 exec /usr/bin/luna-session
2053 2055 fi
@@ -2158,7 +2160,9 @@ _phase_pack() {
2158 2160 # też go instaluje (idempotentnie), ale robimy to jawnie – _phase_pack
2159 2161 # nie musi polegać na kolejności. Kopiuje binarkę + lib/ (locale/, data/).
2160 2162 # Jednostka lightdm – starsze paczki jej nie miały. Piszemy tylko gdy brak.
2161 - if declare -F _ensure_lightdm_units >/dev/null 2>&1 \
2163 + # Luna nie używa LightDM (ma greetd), więc nie dokładamy tej jednostki.
2164 + if [[ "${PAGAN_DE,,}" != "luna" ]] \
2165 + && declare -F _ensure_lightdm_units >/dev/null 2>&1 \
2162 2166 && [[ ! -e "$PAGAN_ROOT/usr/lib/systemd/system/lightdm.service" ]]; then
2163 2167 ( _ensure_lightdm_units ) >>"$LOG_FILE" 2>&1 && ok "lightdm: jednostka systemd" || true
2164 2168 fi
@@ -2225,14 +2229,29 @@ _phase_pack() {
2225 2229 # Sprawdzamy jawnie – bez pagan-audio-setup root w live miałby ciszę
2226 2230 # (jednostki PipeWire mają ConditionUser=!root).
2227 2231 local _af
2228 - for _af in /usr/bin/pagan-audio-setup /etc/xdg/autostart/pagan-audio.desktop \
2229 - /usr/bin/pagan-display-setup /etc/xdg/autostart/pagan-display-setup.desktop; do
2230 - if [[ -e "$PAGAN_ROOT$_af" ]]; then
2231 - ok "autostart sesji: ${_af##*/}"
2232 - else
2233 - warn "autostart sesji: brak $_af (dźwięk/multi-monitor mogą nie wystartować)"
2234 - fi
2235 - done
2232 + if [[ "${PAGAN_DE,,}" == "luna" ]]; then
2233 + # Luna nie używa xinitrc/autostartów XFCE: tty1 → luna-session,
2234 + # dźwięk startuje z profilu live, a instalator z /etc/xdg/autostart.
2235 + for _af in /usr/bin/luna-session /usr/bin/luna-installer \
2236 + /usr/bin/pagan-live-luna-installer \
2237 + /etc/xdg/autostart/pagan-luna-installer.desktop \
2238 + /usr/bin/luna-welcome; do
2239 + if [[ -e "$PAGAN_ROOT$_af" ]]; then
2240 + ok "Luna start: ${_af##*/}"
2241 + else
2242 + warn "Luna start: brak $_af"
2243 + fi
2244 + done
2245 + else
2246 + for _af in /usr/bin/pagan-audio-setup /etc/xdg/autostart/pagan-audio.desktop \
2247 + /usr/bin/pagan-display-setup /etc/xdg/autostart/pagan-display-setup.desktop; do
2248 + if [[ -e "$PAGAN_ROOT$_af" ]]; then
2249 + ok "autostart sesji: ${_af##*/}"
2250 + else
2251 + warn "autostart sesji: brak $_af (dźwięk/multi-monitor mogą nie wystartować)"
2252 + fi
2253 + done
2254 + fi
2236 2255 # Diagnostyka bez przerywania: wypisz uwagi weryfikacji do logu.
2237 2256 if declare -F verify_rootfs >/dev/null 2>&1; then
2238 2257 ( set +e; set +u; verify_rootfs ) >>"$LOG_FILE" 2>&1 \
@@ -2285,7 +2304,9 @@ pb_boot_status() {
2285 2304 _log " initramfs.img: ${init}"
2286 2305 _log " pagan-initramfs: ${ptool} (rolling po pag upgrade kernel)"
2287 2306 _log " grub-mkconfig: ${grub}"
2288 - _log " bootloader: ISO=ISOLINUX+GRUB EFI, IMG=grub-install, dysk=pagan-install"
2307 + local _disk_inst="pagan-install"
2308 + [[ "${PAGAN_DE,,}" == "luna" ]] && _disk_inst="luna-installer"
2309 + _log " bootloader: ISO=ISOLINUX+GRUB EFI, IMG=grub-install, dysk=${_disk_inst}"
2289 2310 _log " dźwięk: PipeWire+WirePlumber (autostart pagan-audio-setup)"
2290 2311 _log " grafika: KMS+Mesa+Xorg, NVIDIA przez nvidia-drm"
2291 2312 }