ZIGNOS MENU (overlays)
The official ZIGNOS tree ships the base system and common applications only.
ZIGNOS MENU is the official overlay for additional packages that do not
belong in that tree. It works like a Gentoo overlay, and zpkg overlay lets
anyone layer their own repository on top.
Adding ZIGNOS MENU
Section titled “Adding ZIGNOS MENU”sudo zpkg overlay add zignos-menuzpkg overlay listThe official URL is built into zpkg, so the name is enough. ZIGNOS MENU is
currently unsigned, so ALLOW_UNSIGNED=1 is recorded in its configuration.
NAME PRIORITY ACTIVE CHANNELS STATUS PACKAGES URLzignos-menu (ZIGNOS MENU) 10 yes all synced 0 unsigned https://github.com/studio-nosa-tech/zignos-menu.gitSearch and install work exactly as with the official tree. zpkg search and
zpkg info label the repository as zignos-menu/apps.
zpkg search <term>sudo zpkg install <pkg>Updating and removing:
sudo zpkg overlay sync # update every overlaysudo zpkg overlay sync zignos-menu # update onesudo zpkg overlay remove zignos-menu # drop the configuration and treeoverlay remove does not remove installed packages. A package whose recipe
disappears stays installed and still participates in dependency resolution as
an installed-only candidate; zpkg upgrade warns that the overlay is not
active and does not rebuild it. To rebuild, add the overlay again or remove
the package with sudo zpkg remove <pkg>.
How it works
Section titled “How it works”The configuration lives in /etc/zpkg/overlays.d/<name>.conf and the synced
tree in $ZPKG_ROOT/var/lib/zpkg/overlays/<name>.
URL=https://github.com/studio-nosa-tech/zignos-menu.gitBRANCH=mainPRIORITY=10ALLOW_UNSIGNED=1ENABLED=1- Active overlays are searched before the official tree. For a package key
(
name@slot) the first repository wins and all of its versions become candidates, so an overlay can override an official recipe. - A larger
PRIORITYwins (default 10). When several overlays provide the same package, only the highest-priority one is used. - The tree’s
overlay.confdeclares the category directories withCATEGORIES=. ZIGNOS MENU usesapps,gamesandtools. WithoutCATEGORIES=the tree root itself is the recipe repository. CHANNELS=limits the overlay to some release channels (for exampleCHANNELS=testing unstable). Empty means every channel.- Installed packages record the overlay in
meta.jsonand provenance, so the origin keeps displaying aszignos-menu/appsafter the overlay is removed.
Adding your own overlay
Section titled “Adding your own overlay”A git repository, a tarball URL or a local directory all work.
sudo zpkg overlay add myoverlay https://github.com/<user>/<repo>.gitsudo zpkg overlay add local-overlay /path/to/tree --allow-unsignedsudo zpkg overlay add experimental https://example.com/overlay.tar.xz \ --branch main --priority 20 --allow-unsigned| Option | Meaning |
|---|---|
--branch <name> |
git branch (default main) |
--priority <n> |
priority (default 10; larger wins) |
--allow-unsigned |
accept a tree without a signature (development) |
--no-sync |
write the configuration without fetching the tree |
zpkg overlay remove <name> --keep-tree removes only the configuration and
keeps the synced tree. For git overlays, zpkg overlay sync compares the remote
commit and does nothing when the tree is already current.
Signing
Section titled “Signing”Overlays use the same recipes.manifest / recipes.manifest.sig verification
as the official tree. Signatures are checked against trusted keys in
/etc/zpkg/trusted.d, and generation rollbacks are rejected per overlay through
overlay:<name> in $ZPKG_DB/.security.json.
# overlay authorzpkg sign-recipes --key ~/overlay-signing.key --generation 1 /path/to/overlaygit add recipes.manifest recipes.manifest.sigA present but invalid signature is rejected even with --allow-unsigned.
The official ZIGNOS MENU stays unsigned until its key is in operation, and
overlay add zignos-menu records ALLOW_UNSIGNED=1; once it is signed, normal
verification applies. See Signing and verification.
Adding packages to ZIGNOS MENU
Section titled “Adding packages to ZIGNOS MENU”Put a normal recipe under apps/, games/ or tools/ in
zignos-menu and open a pull
request.
zignos-menu/├── overlay.conf # NAME / CATEGORIES / CHANNELS├── apps/<pkg>/{version, sources, checksums, depends, build}├── games/<pkg>/...└── tools/<pkg>/...See Recipes and
Build patterns for the format. Recipes that
work on stable, testing and unstable are welcome. Use CHANNELS= in
overlay.conf to provide a package on specific channels only.
Limitations
Section titled “Limitations”- When several overlays provide the same package key, priority picks one. Use different slots to keep both.
- A package stays installed after its overlay is removed but cannot be rebuilt until the recipe is available again.
- The official ZIGNOS MENU is currently unsigned.
