config update
This commit is contained in:
@ -1,14 +1,69 @@
|
|||||||
Aeropkg config file
|
Aeropkg config file
|
||||||
=
|
=
|
||||||
|
|
||||||
|
> # Repository
|
||||||
|
> Global settings
|
||||||
|
|
||||||
``` cfg *** Repository list and priority ***
|
``` cfg *** Repository list and priority ***
|
||||||
gnu /pkg/gnu/aeropkg/var/gnu
|
gnu /pkg/gnu/aeropkg/var/gnu
|
||||||
musl /pkg/gnu/aeropkg/var/musl
|
musl /pkg/gnu/aeropkg/var/musl
|
||||||
```
|
```
|
||||||
|
|
||||||
``` cfg *** Clean exclude ***
|
|
||||||
|
> # Trim options
|
||||||
|
> Trimming removes unused files for a specified period
|
||||||
|
>
|
||||||
|
> Usage:
|
||||||
|
> pkg trim \<repo\> \<period\>
|
||||||
|
> period relative time format:
|
||||||
|
> y — years, M — months, d — days, h — hours, m — minutes, s — seconds
|
||||||
|
> period absolute date format:
|
||||||
|
> DD.MM.YYYY HH:mm:ss
|
||||||
|
>
|
||||||
|
> Example:
|
||||||
|
> pkg trim musl 2d 10h
|
||||||
|
> pkg trim musl 04.09.2025 08:57:07
|
||||||
|
>
|
||||||
|
> Configure format
|
||||||
|
> Any Linux path format, relative from /pkg/\<repo\>
|
||||||
|
|
||||||
|
``` cfg *** Trim exclude ***
|
||||||
*
|
*
|
||||||
```
|
```
|
||||||
|
|
||||||
``` cfg *** Clean include ***
|
``` cfg *** Trim include ***
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
> # Env
|
||||||
|
> Build stages environment
|
||||||
|
>
|
||||||
|
> Example:
|
||||||
|
> env
|
||||||
|
> env \<repo\>
|
||||||
|
> env \<stage\>
|
||||||
|
> env \<repo\> \<stage\>
|
||||||
|
> stage can be: download, patch, build, config
|
||||||
|
|
||||||
|
``` cfg *** Env <repo> <stage> ***
|
||||||
|
src_remove=true|false (default true)
|
||||||
|
pgo=generate|use (default none)
|
||||||
|
disable=true|false (default false)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
> # Hooks
|
||||||
|
> Execute a shell script for a specific repository
|
||||||
|
>
|
||||||
|
> Example:
|
||||||
|
> Hook \<repo\> \<stage\>
|
||||||
|
> Hook \<stage\>
|
||||||
|
> stage can be: download, patch, build, config
|
||||||
|
>
|
||||||
|
> hook env
|
||||||
|
> pkgname - package name
|
||||||
|
> repo - repository name
|
||||||
|
|
||||||
|
``` sh *** Hook <repo> <stage> ***
|
||||||
|
echo "hooked"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user