[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH] lib/vfscore: Select uklibparam library when using root filesystem automounting



On 10/9/19 4:42 PM, Simon Kuenzer wrote:
> On 09.10.19, 15:39, "Sharan Santhanam" <sharan.santhanam@xxxxxxxxx> wrote:
> 
>     Hello Costin,
>     
>     Please find the review comment inline:
>     
>     Thanks & Regards
>     
>     Sharan
>     
>     On 10/9/19 3:30 PM, Costin Lupu wrote:
>     > Because you can provide the mount parameters using command line 
> parameters.
>     >
>     > Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
>     > ---
>     >   lib/vfscore/Config.uk | 1 +
>     >   1 file changed, 1 insertion(+)
>     >
>     > diff --git a/lib/vfscore/Config.uk b/lib/vfscore/Config.uk
>     > index 527922da..2785a5d3 100644
>     > --- a/lib/vfscore/Config.uk
>     > +++ b/lib/vfscore/Config.uk
>     > @@ -17,6 +17,7 @@ config LIBVFSCORE_PIPE_SIZE_ORDER
>     >   config LIBVFSCORE_AUTOMOUNT_ROOTFS
>     >   bool "Automatically mount a root filesysytem (/)"
>     >   default n
>     > +select LIBUKLIBPARAM
>     
>     Instead of hard selecting library, use "imply LIBUKLIBPARAM". This lets 
>     you unselect  LIBUKLIBPARAM.
>     
>     The original intension was to build without LIBUKLIBPARAM and use 
>     suitable defaults. So it is wise to retain this behavior.
> 
> What he means is that you should be able to build without the parameter 
> library. In such a case the menu configuration gets hard-coded into the 
> image. Imply is a weak "select" that enables the other library, which is 
> useful for this particular case but does not force its existence.

In deed, this is a very useful addition to Kconfig directives. And yes,
it's great when you have two or more libs doing the same thing, let's
saylibukparam and libukparam2. But if you have only one implementation
then new users might mess it up. Anyway, I've just sent the v2.

Cheers,
Costin

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.