On Sat, Oct 29, 2016 at 11:42 AM, M. J. Everitt <m.j.ever...@iee.org> wrote:
> On 29/10/16 16:35, Benda Xu wrote:
>> No SD slot on Nexus.  We will stress the internal NAND flash with
>> millions of ebuilds and rsync :)
>>
>> That makes me think of squashdelta sync, but probably after gaining
>> control of linux kernels to manage the squashfs module.
>>
> Completely out of my depth here, but can you cross-compile and is there
> some way of leveraging the USB-C connection on the Nexus 6P .. or are we
> talking super-complex then?!
>

Well, that would be a different approach, but I imagine you could
build for prefix-style install using something like Catalyst and
cross-compile.  I have no idea how much tweaking that would require.
The main issue is that unless you use qemu you're only going to get
one pass.  If you are going to use qemu then you could just build it
all in an emulator and copy it over.

You definitely could create a squashfs of /usr/portage and then just
mount that on your phone.  You could also nfs mount it I suppose, or
use something like iSCSI (you might need kernel modules for both).  Or
use something like sshfs.  I've also used a compressed ram filesystem
for this purpose in the past (basically like a tmpfs only compressed,
often used as a high-priority swap).

And of course if you can spare the RAM you can build in tmpfs.

So, there are definitely some "easy" options though some of them will
cost performance.

Another option might be USB OTG.  I think the 6P supports that with
the right drivers.  As long as it isn't noexec I'd think you could
install Prefix on that.

-- 
Rich

Reply via email to