Files
apt-repository/README.md
T
2025-08-06 20:04:03 -03:00

37 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Personal APT repository
This directory is a minimal Debian/apt repository that hosts personal
packages for the Clockwork Pi image.
Currently it contains only **clockworkpi-theme**.
## Structure
```
apt-repository/
├── build-repo.sh # helper to rebuild the index
├── pool/main/c/clockworkpi-theme/
│ └── clockworkpi-theme_*.deb # package files live here
└── dists/bookworm/stable/main/binary-all/
├── Packages
└── Packages.gz
```
## Usage
1. Build / rebuild your theme package in *pi-gen* (e.g. via
`scripts/package-custom-theme.sh`).
2. Run the helper here:
```bash
cd apt-repository
./build-repo.sh
```
3. Commit & push this repo the raw URL of the repo root is the apt
source, e.g.
```
deb [arch=all] https://gitea.example.com/olivier/apt-repository bookworm stable main
```
## Adding more packages
Just copy additional `.deb` files into an appropriate sub-directory
under `pool/` (follow the first letter scheme) and run
`./build-repo.sh` the script rescans the entire pool each time.