Package Management
Two packages.yaml Files
| Location | Purpose |
|---|---|
~/Code/OpenRiot/install/packages.yaml |
Source repo (git controlled) |
~/.local/share/openriot/install/packages.yaml |
Installed copy |
Commands
–check-packages
Checks packages.yaml against installed packages.
- Checks CWD first for
install/packages.yaml - Falls back to
~/.local/share/openriot/install/packages.yaml - Prints which file is being checked
–sync-packages
Updates packages.yaml to match installed versions.
- Same file lookup as
--check-packages - Prints which file is being updated
- Updates matching packages
Output Format
All commands use consistent 4-character brackets:
| Tag | Usage |
|---|---|
[INFO] |
Informational messages |
[WARN] |
Warnings, mismatches |
[FAIL] |
Errors, failures |
[MISS] |
Missing packages |
[DONE] |
Success |
Skip Checks in Source Builds
When adding skip checks for source builds, verify the actual output filename:
# WRONG - build produces libcalc.so
- "if [ -x /usr/local/lib/rofi/librofi-calc.so ]; then echo '[SKIP]'; fi"
# CORRECT
- "if [ -x /usr/local/lib/rofi/libcalc.so ]; then echo '[SKIP]'; fi"