Skip to content

About

The repo-tool manifest for Sunlight Linux: default.xml lists the seven repositories of a full checkout (kernel, packages, init, installer, PAM module, docs, this manifest). repo init + repo sync fetches the tree.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

slmanifests

repo manifest License: Apache-2.0

Part of Sunlight Linux · slinit · slpam · slinstaller · slkernel · slpkgs · sldocs · slmanifests

The repo tool manifest for Sunlight Linux: one file, default.xml, that lists the eight repositories of a full source checkout and where each lands in the tree. repo init plus repo sync clones all of them; nothing here is built or run.

Project Details
Releases None. Every project tracks main; no release-<tag>.xml snapshot has been committed yet (see Releases)
Contract CLAUDE.md — eight projects, one remote (slgh, HTTPS only), no pinned SHAs in default.xml
Requires Google's repo tool and git; xmllint to validate an edit
License Apache 2.0

Sunlight Linux is a UEFI-only distribution based on Void Linux that runs slinit as PID 1. This repository is the entry point to all of it: the table below is a map of the projects, and repo sync is the one command that fetches them.

Deliberately out of scope: linux-sunlight and ci, two other repositories of the organization. linux-sunlight is the standalone kernel source tree being retired at 7.4, replaced as the distribution's kernel path by slkernel; ci holds the Jenkins pipelines, separate from the GitHub Actions suites inside each project. Neither is part of a development checkout, and the manifest does not list them.

New here? Read the Projects table to see what each repository is, then run the Quick Start and start in the front page of the project you want to change.

Quick Start

Install repo, then bootstrap a full Sunlight Linux tree:

repo init -u https://github.com/sunlightlinux/slmanifests.git -b main
repo sync -j4

repo init clones this manifest; repo sync clones (or updates) every project it lists, checked out on a detached HEAD at main. slkernel carries the Linux history (GitHub puts the repository at about 3 GB), so the first full sync is long; repo sync <project>... fetches only the projects named, for example repo sync sldocs slinit.

Projects

Project Path Language Latest release What it is
slinit src/init Go release; long-term support: the 4.0 line Init system and service manager (PID 1), dinit-compatible
slinstaller src/installer Go release UEFI-only system installer; reads clr-installer's config format, written clean-room with clr-installer as a design reference only
slpam src/pam C release PAM module (pam_slinit.so) that registers logins with slinit-logind; C because it is loaded into login, sshd, gdm and su
slkernel kernel C (the Linux tree; main holds docs and CI) tags 7.3.0-lowlatency-sunlight-n<N> / nf<N>, no GitHub releases The kernel: AOSP's android-mainline branches merged by CI (mainline-check, mainline-check-full) plus Sunlight's patches (next, next-full), shipped as linux-next and linux-next-full; the recipe and .config live in slpkgs
slpkgs pkgs shell (xbps-src templates) none; its next-<date>-<hex> tags only keep replaced next tips reachable void-packages fork rebranded to Sunlight Linux; the Sunlight package delta is on its next branch
sldocs docs Markdown none Requirements, specs, plans, the known-good configuration, how AI agents are used, and findings: bugs, fixes and what hid them
slmanifests manifests XML none This repository, checked out into the tree
.github org Markdown none The organization's GitHub profile and the default community files (code of conduct, contributing, security policy) that a repository without its own copy inherits

The badges in the release column are read live from each repository's tags. slkernel has two tag series, one per branch, so it links to its tags page instead; what a tag promises is in its README.

After repo sync the tree looks like:

.
├── kernel/          # slkernel
├── pkgs/            # slpkgs
├── manifests/       # slmanifests (this repo)
├── docs/            # sldocs
├── org/             # .github (organization profile, community files)
└── src/
    ├── init/        # slinit
    ├── installer/   # slinstaller
    └── pam/         # slpam

Branch Model

Every project tracks main (no pinned SHAs). The remote slgh points at https://github.com/sunlightlinux/, and repo sync defaults to 4 parallel jobs.

Tracking main does not always give you the project's content. In slkernel and slpkgs, main holds only the documentation and the CI that keeps the other branches current: the kernel source is on next, next-full, mainline-check and mainline-check-full of slkernel, and slpkgs mirrors void-packages on mainline-check and carries the Sunlight package delta, which packages are built from, on next. After repo sync, switch branches inside kernel/ or pkgs/ to work on them, for example git -C kernel checkout -b next slgh/next; the manifest does not select them. A plain repo sync fetches every branch; repo sync -c fetches only main and leaves those branches out.

Releases

For a reproducible, auditable build, snapshot the current state of every project into a pinned manifest:

repo manifest -r -o release-<tag>.xml

The resulting file records an exact SHA per project, so

repo init -u https://github.com/sunlightlinux/slmanifests.git -m release-<tag>.xml
repo sync

reproduces that exact tree. The snapshot must be committed to this repository (on main, the branch repo init uses by default) for the second command to find it. No snapshot has been committed so far, so today a checkout is always a tree of branch heads.

Useful Commands

Command What it does
repo sync -j4 Clone/update all projects
repo manifest Print the fully resolved manifest
repo manifest -r -o snap.xml Snapshot pinned SHAs into snap.xml
repo forall -c 'git status' Run a command in every project
repo status Show working-tree status across projects

Documentation

Document What it is
default.xml The manifest itself, with a usage comment at the top
CONTRIBUTING.md How to propose a manifest change and validate it
SECURITY.md Reporting security and supply-chain issues
CODE_OF_CONDUCT.md Community standards
CLAUDE.md Invariants and guidelines for LLM-assisted edits
EXAMPLES.md Worked examples of those guidelines

Contributing

Changes are almost always edits to default.xml; see CONTRIBUTING.md. Validate with xmllint --noout default.xml and repo manifest before opening a pull request.

License

Apache License 2.0.

About

The repo-tool manifest for Sunlight Linux: default.xml lists the seven repositories of a full checkout (kernel, packages, init, installer, PAM module, docs, this manifest). repo init + repo sync fetches the tree.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors