mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-24 03:48:13 +01:00
build; make the pkgname configurable.
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
This commit is contained in:
parent
462a972abc
commit
e41c5f6055
2 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,9 @@ var (
|
||||||
// AppArmor ABI version
|
// AppArmor ABI version
|
||||||
ABI uint = 0
|
ABI uint = 0
|
||||||
|
|
||||||
|
// Pkgname is the name of the package
|
||||||
|
Pkgname string = "apparmor.d"
|
||||||
|
|
||||||
// Root is the root directory for the build (default: .build)
|
// Root is the root directory for the build (default: .build)
|
||||||
Root *paths.Path = paths.New(".build")
|
Root *paths.Path = paths.New(".build")
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/roddhjav/apparmor.d/pkg/prebuild"
|
"github.com/roddhjav/apparmor.d/pkg/prebuild"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ext = ".apparmor.d"
|
var ext = "." + prebuild.Pkgname
|
||||||
|
|
||||||
type Overwrite struct {
|
type Overwrite struct {
|
||||||
prebuild.Base
|
prebuild.Base
|
||||||
|
|
Loading…
Reference in a new issue