Re: Question on ostree-init
- From: Colin Walters <walters verbum org>
- To: ostree-list gnome org
- Subject: Re: Question on ostree-init
- Date: Sun, 25 Oct 2015 11:17:10 -0400
On Fri, Oct 23, 2015, at 06:11 PM, Petros Aggelatos wrote:
However, I afterwards discovered that this was how OSTree worked
initially and the now abandoned ostree-init[1] project. So my question
is, what lead to that decision and what are the disadvantages of the
static init process?
Basically if you have an initramfs, there is little point to doing the
statically linked approach. All my uses of ostree right now are for
"general purpose" OSes with an initramfs.
Now I know embedded-type approaches often want to avoid the boot-time
overhead of an initramfs.
A statically linked binary would work, but I think at that point it might be
better to put it in the kernel. It'd be a fairly small patch I think; ostree-prepare-root.c
is only 252 lines of code with comments.
That said I would also take a patch to add a build-time option to ostree
to generate a statically linked ostree-prepare-root.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]