[poky] SRC_URI: password protected ftp access
Prasant J
pj0585 at gmail.com
Mon Dec 21 02:23:39 PST 2015
On Mon, Dec 21, 2015 at 3:18 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On Sun, Dec 20, 2015 at 7:57 AM, Prasant J <pj0585 at gmail.com> wrote:
> > Hi,
> >
> >
> > I'm writing a bitbake recipe that will download the source tarball from a
> > ftp/http server that is password protected. How can I avoid putting the
> > username & password in the bitbake file? (the recipe will be version
> > controlled and the username & password will not be secure anymore)
> >
> >
> > Is there a way to put the username & password in the
> build/conf/local.conf??
> > or any other alternatives?
>
> You can use ~/.netrc do man netrc for how to configure it.
>
>
>
That helped! Thanks a lot Khem.
I added the following line to .netrc:
machine <server addr> login <username> password <pwd>
Regards, PJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20151221/8b2ca073/attachment.html>
More information about the poky
mailing list