Skip to content

decouple daemon code wrt platform #396

Closed

Description

@runcom

After #335 and #381 the daemon code requires CGO to build because of C bindings to systemd journal. The way the code is structured right now doesn't allow us to avoid compiling with cgo also the controller and the server.
We need to decouple the code based on platform using Go build tag so we're eventually compiling only the daemon with cgo.

Activity

  1. runcom commented on Feb 8, 2019

    @runcom
    MemberAuthor

    taking a stab at this.

  2. runcom commented on Feb 8, 2019

    @runcom
    MemberAuthor

    actually for us, it all boils down to some of the daemon consts, I guess we can move them out also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions