Files
euri-iso/docs/overlay-live.md
T
c-ludenberg 05ae4f25cc feat: switch default init from OpenRC to Dinit
All approaches to keep OpenRC as default failed:
  - --ignore: pacman ignores it during fresh install provider resolution
  - --assume-installed=init-logind: ALPM doesn't check assume-installed for virtual providers
  - --ask=12: infinite loop (pacman re-adds elogind-dinit after each removal)
  - dummy package in custom repo: init-rc conflict hits via different path

Dinit works because pacman --noconfirm naturally picks elogind-dinit
(alphabetically before elogind-openrc), pulling dinit-rc which has no
conflict. All inits (OpenRC, Runit, S6) remain selectable in the
online installer.

Changes:
  - buildiso: INITSYS='dinit', remove --assume-installed/--ask hacks
  - basestrap/main.py, packages/main.py: remove same hacks
  - profile.yaml: antergos-live-dinit for dinit, move openrc pkg to init-specific
  - packagechooser.conf (x2): default=Dinit, Dinit first in item list
  - packagechooser_dm.conf: *-dinit instead of *-openrc
  - README.md, README.pl.md, docs/*: update all OpenRC-first references
  - AGENTS.md: document dinit as default
2026-07-06 19:42:27 +02:00

65 lines
2.2 KiB
Markdown

---
title: Live Overlay
layout: default
parent: Overlays
nav_order: 2
---
# Live Overlay
Files in `iso-profiles/antergos/live-overlay/` exist only in the live environment — they are **not** present after installation.
## Contents
```
live-overlay/
├── etc/
│ ├── calamares/
│ │ ├── settings.conf # -> symlinks to online or offline
│ ├── calamares-offline/
│ │ ├── settings.conf # Offline install config (unpackfs)
│ │ └── modules/
│ │ └── ...
│ ├── calamares-online/
│ │ ├── settings.conf # Online install config (packagechooser)
│ │ └── modules/
│ │ ├── packagechooser_init.conf # Init system selector
│ │ ├── packagechooser_desktop.conf # DE selector
│ │ └── ...
│ └── sddm.conf.d/
│ └── kde_settings.conf # SDDM autologin + Wayland session
└── usr/
└── share/
└── applications/
├── calamares.desktop # Branded launcher
└── calamares-config-switcher.desktop # Hidden (NoDisplay=true)
```
## Key files
### `etc/calamares/settings.conf`
Symlink — points to either `../calamares-offline/settings.conf` or `../calamares-online/settings.conf`, set by `calamares-next.sh`.
### `etc/calamares-online/settings.conf`
Two `packagechooser` instances:
- `packagechooser@init` — init system (Dinit, OpenRC, Runit, S6) via netinstall-add
- `packagechooser@desktop` — DE selection via legacy method
### `etc/calamares-online/modules/packagechooser_init.conf`
Init selector config. Uses `method: netinstall-add` — the selected init pulls its associated packages.
### `etc/calamares-online/modules/packagechooser_desktop.conf`
DE selector config. Uses `method: legacy` — returns the selected DE as a global storage value.
### `etc/calamares-offline/settings.conf`
No packagechooser. Uses `unpackfs` to deploy a pre-built KDE Plasma squashfs.
### `usr/share/applications/calamares-config-switcher.desktop`
Has `NoDisplay=true` to hide it from the app menu. The upstream Artix "Install Artix Linux" entry is suppressed this way.