feat(profile): start implementing systemctl subprofile instead of using child-systemctl.

This commit is contained in:
Alexandre Pujol 2024-03-05 17:45:02 +00:00
parent a7e37528d5
commit 70963a50b6
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 75 additions and 17 deletions

View file

@ -18,7 +18,7 @@ profile sensors-detect @{exec_path} {
@{bin}/kmod rCx -> kmod,
@{bin}/perl r,
@{bin}/systemctl rPx -> child-systemctl,
@{bin}/systemctl rCx -> systemctl,
@{bin}/udevadm rCx -> udevadm,
@{bin}/uname rix,
@ -65,5 +65,12 @@ profile sensors-detect @{exec_path} {
include if exists <local/sensors-detect_udevadm>
}
profile systemctl {
include <abstractions/base>
include <abstractions/systemctl>
include if exists <local/sensors-detect_systemctl>
}
include if exists <local/sensors-detect>
}