Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a Flatcar Dev Extension, a systemd-sysext image based on the devcontainer #1125

Open
pothos opened this issue Jul 20, 2023 · 0 comments
Labels
area/sysext sysext roadmap kind/feature A feature request

Comments

@pothos
Copy link
Member

pothos commented Jul 20, 2023

Current situation

For building kernel modules or debug symbols, the devcontainer in systemd-nspawn (or the third-party Docker images) has to be used.

Impact

The UX with the second environment that's persisted to disk and only has access to some host paths is not the best.

Ideal future situation

Build developer container packages into a systemd-sysext image and publish as release artifact and as signed update payload for consumption as official Flatcar extension. It gets activated through a line with NAME in /etc/flatcar/enabled-sysext.conf.

Implementation options

Call it Flatcar "dev", Flatcar "devtools", or Flatcar "compiler" extension.
Consider to provide debug symbols for the base image as part of it or in a second extension.

Additional information

Depending on when the "extra" extension gets implemented, make sure that there is no conflict in files they provide. If the "dev" extension requires tools from "extra", activation of "extra" will be implied by "dev".

Note that for debugging with gdb the current library path is something like /build/ARCH but it should become the host path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysext sysext roadmap kind/feature A feature request
Projects
Development

No branches or pull requests

1 participant