Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • H haegtesse
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • 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
  • Snippets
    • Snippets
  • 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
  • haegtesse
  • Merge requests
  • !12

Check the machine name against a whitelist/blacklist

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bob Ham requested to merge bob.ham/haegtesse:machine-check into master Nov 01, 2019
  • Overview 0
  • Commits 2
  • Pipelines 2
  • Changes 9

Instead of conflicting with Wys and relying on device-specific packages to bring in the right daemons, have Hægtesse check the machine name (/proc/device-tree/model) against a whitelist/blacklist pair to determine whether it should run. If it should not run, exit with a status that systemd recognises as meaning it should not be restarted.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: machine-check