Commit graph

387 commits

Author SHA1 Message Date
Alexandre Pujol
baa3f8f639
build: generalise the use of apparmor version during the build. 2025-03-30 17:06:00 +02:00
Alexandre Pujol
1f55c07692
build: automatically include bus/own-* abstraction when required. 2025-03-23 12:31:43 +01:00
Alexandre Pujol
50135cf75b
build: define more variable to resolve during build. 2025-03-18 23:16:11 +01:00
Alexandre Pujol
96e79d9d88
build: add filter for apparmor version. 2025-03-15 00:26:47 +01:00
Alexandre Pujol
e4a7e16ec0
build: add support for apparmor 4.1
Enabled when prebuild is run with the --version 4.1 argument
2025-03-14 22:07:59 +01:00
Alexandre Pujol
dcc6c72cbd
build(directive): add the dbus common subdirective for bus abstraction. 2025-03-13 19:08:56 +01:00
Alexandre Pujol
ef90157f25
feat(pkg): minor improvment on rlimit definition. 2025-03-10 19:39:38 +01:00
Alexandre Pujol
106921df23
fix(build): ensure fsp mode set the systemd profile name correctly. 2025-03-08 14:23:08 +01:00
Alexandre Pujol
03406096ce
feat(dbus): simplify the way to provide unix address for dbus. 2025-03-06 23:46:49 +01:00
Alexandre Pujol
972ae950e4
build: improve the dbus directive.
- Support for additional interfaces: +=
- Restrict the generated dbus rules
- Add the required unix bind rule.
2025-02-23 20:53:49 +01:00
Alexandre Pujol
81ecce1ef7
fix(build): test in directive. 2025-02-23 20:17:49 +01:00
Alexandre Pujol
fadc08b1ea
fix(test): update reference path for aa-status. 2025-02-09 22:16:33 +01:00
Alexandre Pujol
e41c5f6055
build; make the pkgname configurable. 2025-01-17 00:06:35 +01:00
Alexandre Pujol
ba067a0214
build: naming cosmetic. 2025-01-14 23:58:01 +01:00
Alexandre Pujol
9953cf1fbd
build: make synchronise task configurable.
Required by downtream repository.
2025-01-14 23:57:19 +01:00
Alexandre Pujol
f1182b27bb
build: do not resolve files in local/ 2025-01-12 20:30:52 +01:00
Alexandre Pujol
fc85b9fc58
build: better division of prebuild stages. 2025-01-12 19:41:47 +01:00
Alexandre Pujol
61939a3bf8
build: disable dummy upstream profile in favor of ours. 2025-01-12 18:22:39 +01:00
Alexandre Pujol
0206e04b3f
build: ensure build task get the proper profile name. 2024-11-11 21:18:16 +00:00
Alexandre Pujol
7e09351f8f
feat(aa-log): add the --since option. 2024-10-21 14:12:02 +01:00
Alexandre Pujol
081399a160
tests: remove tests from the vendored paths module. 2024-10-19 22:55:17 +01:00
Alexandre Pujol
3ef6c44038
fix: small fix & cleaning. 2024-10-12 20:11:45 +01:00
Alexandre Pujol
273485217c
build: add the task to automatically attach disconnected path.
Not yet enabled on build, as the profiles still require some testing.
2024-10-12 20:08:21 +01:00
Alexandre Pujol
e90ccd214c
refractor: move CopyTo
Will be replaced by os.CopyFS with go 1.23
2024-10-12 15:40:17 +01:00
Alexandre Pujol
982c2c66aa
refractor: rename some path util function. 2024-10-12 15:31:24 +01:00
Alexandre Pujol
ebdeef152c
build: root -> share. 2024-10-11 22:31:06 +01:00
Alexandre Pujol
116272b8ad
feat(aa-log): add support for attached path. 2024-10-11 14:21:22 +01:00
Alexandre Pujol
68127c3859
build: allow to run prebuild outside of this project. 2024-10-09 14:03:54 +01:00
Alexandre Pujol
94703681d9
build: build tasks: dev -> hotfix. 2024-10-08 23:44:13 +01:00
Alexandre Pujol
29a1642598
feat(aa-log): unify the isOwner function across features. 2024-10-06 20:17:19 +01:00
Alexandre Pujol
856c425dd5
chore(build): minor cosmetic. 2024-10-06 20:15:13 +01:00
Alexandre Pujol
7757038a4f
build: update path helpers 2024-10-05 23:03:41 +01:00
Alexandre Pujol
4b5f7f2b52
chore: document build the enabled task. 2024-10-04 16:14:40 +01:00
Alexandre Pujol
de21ff07a6
build: move upstream overwrite to its own build tasks.
It allow us to controll when we want to do it and either or not it should be enabled.
2024-10-03 11:55:33 +01:00
Alexandre Pujol
14a5d8deae
fix(aa-log): ensure we also split quote in log value
fix #229
2024-10-02 21:06:45 +01:00
Alexandre Pujol
3f98e86e24
fix(aa-log): too much cleaning in pci path.
see #505
2024-10-02 20:48:36 +01:00
Alexandre Pujol
c5505dee8b
fix(build): abi 4 to abi 3 conversion. 2024-10-02 19:24:12 +01:00
Alexandre Pujol
8ddaa136ba
fix(test): update unit test result to abi 4. 2024-10-02 16:50:54 +01:00
Alexandre Pujol
344ccf3003
build: set default ABI to abi4. 2024-10-02 16:44:15 +01:00
Alexandre Pujol
59ac54e2fc
build: reorganise build: abi4, fallback, prebuild cli
- ABI4 by default, fallback to abi 3.
- aa-prebuild cli that can be used by other project shipping profiles.
- --file option to cli to only build one dev profile.
- add abi version filter to only & exclude directives.
2024-10-02 16:22:46 +01:00
Alexandre Pujol
a8c18f9b94
test(aa-log): update tests to the last changes. 2024-09-27 12:20:48 +01:00
Alexandre Pujol
00d6a664eb
feat(aa-log): improve logs cleaning and varible resolution. 2024-09-26 22:25:24 +01:00
Alexandre Pujol
83bc7d3ade
feat(aa-log): minor improvment in rule generation & formatting. 2024-09-26 22:15:46 +01:00
Alexandre Pujol
fbdf9cea64
build: support directive without argument. 2024-09-26 22:09:49 +01:00
Alexandre Pujol
05a489e021
build: improve internal directive tool. 2024-09-26 22:08:48 +01:00
Alexandre Pujol
6f5604d59d
build: cleanup base build interface. 2024-09-26 22:05:47 +01:00
Alexandre Pujol
bdac1adf8f
fix(aa-log): fix cleaning regex.
fix #495
2024-09-18 18:31:24 +01:00
Alexandre Pujol
7f594d51b5
feat(tunable): add the new @{arch} variable. 2024-09-10 18:49:33 +01:00
Alexandre Pujol
e4f963f30f
feat(aa-log): add some util functions. 2024-09-10 18:38:59 +01:00
Alexandre Pujol
f3094cc741
build: add the X option to the stack directive. 2024-09-10 18:13:48 +01:00