[LEDE-DEV] How do you develop (compile) LEDE efficiently?

Baptiste Jonglez baptiste at bitsofnetworks.org
Mon Nov 7 01:19:39 PST 2016


On Mon, Nov 07, 2016 at 09:51:31AM +0100, Rafał Miłecki wrote:
> >> But what about development with modifying files in build_dir? That's
> >> the most tricky part for me.
> >
> > What do you mean exactly?
> 
> Like working with quilt to modify software (kernel/packages) in the build_dir.

I see, I think I would do that directly on the server then.

> > I use the GCC compile farm to develop/compile, since the hardware there is
> > much faster than my laptop (and has more disk space).  I generally mount
> > the remote server locally using sshfs to get access to the generated
> > images and packages.  When I need to edit things in the development tree,
> > I do it directly on the server.
> 
> It sounds like sshfs being too slow for you? That's what bothers me. I
> think I'll just need to experiment with nfs and sshfs a bit and see if
> that will be fast enough for me or not.

It's not so much a matter of sshfs being slow than being unreliable.  If
you (or the server) lose network connectivity or change IP address while
you're working over sshfs, it's a bit inconvenient.  Sshfs uses fuse, so
initially it will just block I/O if the server is not reachable.  But if
the issue lasts for too long, from my experience the mountpoint will
either block I/O forever, return I/O errors or get unmounted.

Of course, on a local network, you're less likely to encounter issues.

Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20161107/4c2bc07e/attachment-0001.sig>


More information about the Lede-dev mailing list