Rename just install-session to just install
CI / test (push) Failing after 16s

install-session(-dev/-rust/-native) become install(-dev/-rust/-native) and
uninstall-session becomes uninstall, so installing is just `just install`.
The old names stay as hidden recipes that print a one-line note and run the
new one. Docs, scripts and comments now point at the new names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hj5zRiffcgWaggHdjv
This commit is contained in:
Claude committed 2026-11-25 22:17:05 +00:00
1 parent c45e0ef431
commit 4437a3a576
12 files changed
+53 -27

No files matched your search

+4 -4
View File
@@ -15,11 +15,11 @@ Everything below works with sudo, doas or pkexec too; run0 is only preferred whe
## Installing the login session
```bash
just install-session # or install-session-dev / install-session-native / uninstall-session
just install # or install-dev / install-native / uninstall
```
These go through `scripts/as-root`, which uses run0 if systemd is PID 1 and run0 is installed,
else sudo, doas or pkexec (`CHANDRA_AS_ROOT=sudo just install-session` picks one). It resolves
else sudo, doas or pkexec (`CHANDRA_AS_ROOT=sudo just install` picks one). It resolves
the program to an absolute path first, because run0 would otherwise look it up in the service
manager's `PATH`, and passes the installer by absolute path, so the working directory doesn't
matter. By hand, from the checkout's root:
@@ -28,7 +28,7 @@ matter. By hand, from the checkout's root:
run0 python3 session/install.py # run0 keeps the working directory when the target is root
```
Don't run `just` itself under run0 (`run0 just install-session`): the recipes build as you first,
Don't run `just` itself under run0 (`run0 just install`): the recipes build as you first,
and under run0 `just` finds neither pixi nor moon, and would leave root-owned build outputs.
## Starting the desktop
@@ -38,7 +38,7 @@ run the compositor and every app as root, put the socket in root's runtime direc
apps don't look, and write settings under `/root`; `chandra-session` refuses (override with
`CHANDRA_ALLOW_ROOT=1` if you really mean it).
- **Display manager:** pick "Chandra" in the session menu (installed by `just install-session`).
- **Display manager:** pick "Chandra" in the session menu (installed by `just install`).
- **From a text console:** log in on the VT as yourself and run `chandra-session` (installed), or
`just run-drm` (from the checkout). logind gives that login session the seat, which is what lets
the compositor open the screen and input devices without being root.