1
0

Add support for applying patches

This commit is contained in:
2023-02-16 10:21:44 +00:00
parent cc1261b0b0
commit 2d6db97b43
3 changed files with 69 additions and 0 deletions

3
gen.go
View File

@ -39,6 +39,9 @@ func genConfig(at config.ArtifactType) (err error) {
a.Preload = append(a.Preload, config.PreloadModule{
Repo: "Repo name (e.g. https://github.com/openwall/lkrg)",
})
a.Patches = append(a.Patches, config.Patch{
Path: "/path/to/profiling.patch",
})
buf, err := toml.Marshal(&a)
if err != nil {