2023-10-14 22:39:42 +02:00
|
|
|
# Packager
|
|
|
|
|
|
|
|
Packager is a tool for package management.
|
|
|
|
It was built to make it easier to download and distribute packages.
|
|
|
|
|
|
|
|
## pkgr
|
|
|
|
pkgr is the main tool for the packager.
|
|
|
|
|
|
|
|
Because this tool is so feature rich, it has its own [README](./pkgr/README.md).
|
|
|
|
|
|
|
|
## bootpkg
|
2024-11-21 15:29:54 +01:00
|
|
|
`bootpkg` is a simple pkgr variant.
|
|
|
|
It doesn't contain anything fancy and is only used to install and update pkgr.
|
|
|
|
Using it for anything other than pkgr is not recommended.
|
2023-10-14 22:39:42 +02:00
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```bash
|
|
|
|
bootpkg strap ./pkgr.pkg
|
|
|
|
```
|
|
|
|
|
2024-11-21 15:29:54 +01:00
|
|
|
This will extract the pkgfile and read the `[pkgr.bootstrap]` section to bootstrap the packager or any other package.
|