Code Monkey home page Code Monkey logo

Comments (8)

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Switching to systemd is imaginable, but we haven't planned for that yet, specifically not for the next version. It would require rewriting some startup scripts and adjusting the iot2000setup tool. And then testing everything. You could support that effort by sending PRs, though.

from meta-iot2000.

deinok avatar deinok commented on August 28, 2024

Just to ref:

The following local_conf should enable systemd:

DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"

Looks like there are some errors in compilation due init scripts.
Expecting .service and finding InitV scripts

from meta-iot2000.

deinok avatar deinok commented on August 28, 2024

NVM, @jan-kiszka would you like to open a branch for systemd so I can send PR there?

Also, I think that I could create a ./meta-iot2000-examples/kas-systemd.yml that extends the ./meta-iot2000-examples/kas.yml but with systemd as init. While the transition is not fully tested.

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

@deinok Just fork the project into your own namespace and issue PRs from there. That's a typical workflow pattern.

from meta-iot2000.

deinok avatar deinok commented on August 28, 2024

Yes, i know the typical workflow, I'd just want to be sure that this kind of heavy changes are going to be accepted (If they work well :) ).

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

If they work, I would be optimistic. The effort is likely as much in testing as it is in finding the places that need changes and applying them.

from meta-iot2000.

deinok avatar deinok commented on August 28, 2024

@jan-kiszka Most of the required changes are SysV init vs SystemD init mechanisms.
So, supporting both while the transition is done should not be a big problem

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Unlikely to happen for this layer anymore.

from meta-iot2000.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.