Dan Nicholson

Results 168 comments of Dan Nicholson

I don't know if this will solve your problems here, but we recently opened our image builder if you want to have a look. https://github.com/endlessm/eos-image-builder

Something very likely needed for building the image in a container is to mount the entire host devices with `-v /dev:/dev`. I don't look yet, but if you're trying to...

I would personally stick with Debian or Ubuntu as the container image for both stages, but if you do use fedora, I believe that grub2-mkconfig is in the `grub2-tools` package....

Debian's source has a bit of documentation on minimalist building in https://salsa.debian.org/debian/ostree/-/tree/debian/latest/debian/ostree-boot-examples. The starting point is deb-ostree-builder, though, so it may not provide much more than what you've found already.

Usually I copy the keys into the repo since it avoids having to trust downloaded keys while bootstrapping. This is what debootstrap does, after all, but using keys on disk...

BTW, I haven't actually run or built this code. I don't have a setup to build Jenkins plugins.

I thought of another potential use case for this - triggering cache rebuilds on input file updates. This would apply in the traditional stateful OS case. For instance, currently the...

Can you run `strace` again with `-f`? The mounting happens in a forked child here: ``` clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fa98ed0f0) = 719 wait4(719, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) =...

Sorry, you already did that. Hmm, earlier there's an `unshare(CLONE_NEWNS)` that would cause a new mount namespace to be used. The mount would then not be happening in the root...