config update
This commit is contained in:
@ -1,14 +1,64 @@
|
||||
Aeropkg config file
|
||||
=
|
||||
|
||||
> # Repository
|
||||
> Global settings
|
||||
|
||||
``` cfg *** Repository list and priority ***
|
||||
gnu /pkg/gnu/aeropkg/var/gnu
|
||||
musl /pkg/gnu/aeropkg/var/musl
|
||||
```
|
||||
|
||||
``` cfg *** Clean exclude ***
|
||||
|
||||
> # Trim options
|
||||
> Trimming removes unused files for a specified period
|
||||
>
|
||||
> Usage:
|
||||
> pkg trim <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 2d 10h
|
||||
> pkg trim 04.09.2025 08:57:07
|
||||
|
||||
``` 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=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
|
||||
|
||||
``` cfg *** Hook <repo> <stage> ***
|
||||
echo "hooked"
|
||||
```
|
||||
|
Reference in New Issue
Block a user