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

Merge oci2sysext with enki https://github.com/kairos-io/oci2sysext (or documentation) #2631

Closed
Tracked by #2052
jimmykarily opened this issue Jun 17, 2024 · 4 comments · Fixed by kairos-io/enki#173
Assignees

Comments

@jimmykarily
Copy link
Contributor

jimmykarily commented Jun 17, 2024

Let make an enki command that does exactly the same. We should either make it a library and import it or otherwise archive the old repo (to avoid duplication).

@jimmykarily jimmykarily moved this to In Progress 🏃 in 🧙Issue tracking board Jun 17, 2024
@jimmykarily jimmykarily moved this from In Progress 🏃 to Todo 🖊 in 🧙Issue tracking board Jun 17, 2024
@Itxaka
Copy link
Member

Itxaka commented Jul 2, 2024

Does this make sense now?

What oci2sysext does its just a simple squashfs image but what we want is what systemd-repart does, which is a image with 3 partitions, one root, one verity and one hash, all in erofs (RO fs)

This currently wont work for our usecase so I rather have it dropped for now.

@Itxaka
Copy link
Member

Itxaka commented Jul 2, 2024

cc @mudler

@mudler
Copy link
Member

mudler commented Jul 2, 2024

Does this make sense now?

It does

What oci2sysext does its just a simple squashfs image but what we want is what systemd-repart does, which is a image with 3 partitions, one root, one verity and one hash, all in erofs (RO fs)

That's the least interesting bit of oci2sysext, what we care about is the interface. It takes a container image, and builds a sysext around it.

This currently wont work for our usecase so I rather have it dropped for now.

As-is it won't, no, so we can take from oci2sysext only the container image extraction part, and plug it in a command that generates a valid sysext with verity and such

@mudler mudler moved this from Todo 🖊 to Under review 🔍 in 🧙Issue tracking board Jul 9, 2024
@mudler mudler moved this from Under review 🔍 to Todo 🖊 in 🧙Issue tracking board Jul 9, 2024
@mudler
Copy link
Member

mudler commented Jul 15, 2024

Example of dockerfile that would feeded to oci2sysext:

FROM <kairos_release:X>

RUN apt-get install tailscale

# this installs a bunch of stuff in /usr

Oci2sysext then packs the difference over a systemd-extension

@Itxaka Itxaka moved this from Todo 🖊 to In Progress 🏃 in 🧙Issue tracking board Jul 31, 2024
@Itxaka Itxaka self-assigned this Jul 31, 2024
@Itxaka Itxaka moved this from In Progress 🏃 to Todo 🖊 in 🧙Issue tracking board Jul 31, 2024
@Itxaka Itxaka moved this from Todo 🖊 to In Progress 🏃 in 🧙Issue tracking board Aug 2, 2024
@github-project-automation github-project-automation bot moved this from In Progress 🏃 to Done ✅ in 🧙Issue tracking board Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants