[Nut-upsuser] cross-compiling nut
Tilman Glotzner
tilmanglotzner at hotmail.com
Sat Jul 30 21:52:00 UTC 2011
> Not sure what you mean here by "provide your own" - you can change the
> configuration file path with "--sysconfdir=...", which could be placed
> on another filesystem.
I tried to copy ups.conf buildroot/output/build/nut-2.6.1/conf and hoped it would be installed in the image in /etc.
I am not sure however if the nut distribution copies it to the image or if buildroot does it.
> CC: nut-upsuser at lists.alioth.debian.org
> From: clepple at gmail.com
> To: tilmanglotzner at hotmail.com
> Subject: Re: [Nut-upsuser] cross-compiling nut
> Date: Sat, 30 Jul 2011 11:47:52 -0400
>
> On Jul 30, 2011, at 11:09 AM, Tilman Glotzner wrote:
>
> > - Is there a config option to only compile only a particular ups
> > driver (to reduce the size of the image) ?
>
> $ ./configure --help
> ...
> [--with-drivers=driver[,driver]]
> Only use specific drivers (all)
>
> I suppose the word "use" isn't the most descriptive here.
>
> Or, if you are rebuilding manually, you can just use "cd drivers; make
> apcsmart"
>
> > - And is there an configure option to provide my own config file in
> > etc ? etc resides on the flash as well...
> > - And is there a command line option for upsdrvctl to read a config
> > file other than /etc/ups.conf ?
>
> Not sure what you mean here by "provide your own" - you can change the
> configuration file path with "--sysconfdir=...", which could be placed
> on another filesystem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110730/54267168/attachment-0001.html>
More information about the Nut-upsuser
mailing list