From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 2/2] libuci: new package
Date: Thu, 20 Mar 2014 15:51:30 +0100 [thread overview]
Message-ID: <20140320155130.7dddc04d@skate> (raw)
In-Reply-To: <CAGm1_ktEWi+dhAxxBYg=8i9BfBw6QiDNNbVO-4+z+N3GNsT=_Q@mail.gmail.com>
Dear Yegor Yefremov,
On Thu, 20 Mar 2014 09:17:55 +0100, Yegor Yefremov wrote:
> >> +config BR2_PACKAGE_LIBUCI
> >> + bool "libuci"
> >> + select BR2_PACKAGE_LIBUBOX
> >> + help
> >> + libuci is intended to centralize the whole configuration
> >> + of a device running OpenWrt. This package will also install
> >
> > What is a "device running OpenWrt" in the context of Buildroot ?
> >
> > Thomas
> > --
> > Thomas Petazzoni, CTO, Free Electrons
> > Embedded Linux, Kernel and Android engineering
> > http://free-electrons.com
>
> libuci provides just another config infrastructure. All config files
> will be placed to /etc/config and you can read/write it's content via
> libuci or UCI CLI. OpenWrt is using this approach and also develops
> these packages. But it's usage is not limited to OpenWrt and can be
> used by any distribution. See http://wiki.openwrt.org/doc/uci for more
> details. I have found this tutorial for Ubunut:
> http://www.wakoond.hu/2013/06/using-uci-on-ubuntu.html
>
> I need these packages, because I have some programs I've developed for
> OpenWrt, but would also like to use in BR. Another usage were to play
> with swconfig (https://github.com/ringlej/swconfig). Of course you can
> compile swconfig without uci support, but uci like config is much more
> readable and handy: http://wiki.openwrt.org/doc/uci/network/switch.
>
> And the real master plan were to port LuCI
> (http://luci.subsignal.org/trac) or LuCI2 to BR, so that BR can get a
> "standard" web-frontend.
>
> I think OpenWrt is good tag for those familiar with this infrastructure.
Thanks for the explanation, but in fact I kind of knew all of this
already. My message was more that your Config.in help text is
misleading, as it doesn't really explain what libuci is, and it only
indicates that it is "for OpenWrt", which doesn't make sense in the
context of Buildroot. So I would rephrase the help text by indicating
something like: "This library originates from the OpenWrt project to
handle the configuration blablabla, but can also be used for the same
purposes in projects other than OpenWrt".
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-03-20 14:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 21:54 [Buildroot] [PATCH v4 1/2] libubox: new package Yegor Yefremov
2014-03-19 21:54 ` [Buildroot] [PATCH v4 2/2] libuci: " Yegor Yefremov
2014-03-19 22:23 ` Thomas Petazzoni
2014-03-20 8:17 ` Yegor Yefremov
2014-03-20 14:51 ` Thomas Petazzoni [this message]
2014-03-20 15:04 ` Yegor Yefremov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140320155130.7dddc04d@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox