Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L librem5-base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • librem5-base
  • Merge requests
  • !35

librem5-base-defaults: Add phone-voice-call-audio.target

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bob Ham requested to merge bob.ham/librem5-base:systemd-phone-voice-call-audio.target into master May 24, 2019
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 3

This systemd unit is needed in order to cope with having both haegtesse and wys installed at the same time. We can have the audio unit be brought up with only a WantedBy relationship to default.target.

Systemd can resolve mutual Conflict options by favouring a unit which is RequiredBy over one which is WantedBy. So, we can have haegtesse.service and wys.service Conflict with each other but we don't want default.target to have a RequiredBy relationship with either as that would mean default.target will fail if the RequiredBy unit (wys.service) fails. By inserting phone-voice-call-audio.target between wys.service and/or haegtesse.service, we can use systemd to resolve the Conflict option while also maintaining only a WantedBy relationship with default.target.

Edited May 24, 2019 by Bob Ham
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: systemd-phone-voice-call-audio.target