fix dependency between modem-atz and modeswitch

for values of "fix" more than slightly reminiscent of "kludge"
This commit is contained in:
Daniel Barlow 2024-07-08 19:28:57 +01:00
parent 534a49e827
commit 6f908156af
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ let
};
atz = oneshot rec {
name = "modem-atz";
dependencies = [ modeswitch ];
# atz does not depend on modeswitch because modeswitch service
# is only running when the stick is in the wrong mode
dependencies = [ modeswitch.controller ];
buildInputs = [ modeswitch ];
controller = (svc.uevent-rule.build {
serviceName = name;
terms = {