building AUR packages

Ask questions about Arch Linux ARM. Please search before making a new topic.

building AUR packages

Postby jfabernathy » Mon Jan 14, 2019 9:01 pm

I want to build a package on my RP3+ for mythtv. Is it advised to use external USB hard drive for heavy compiles?? If I look at webpages about building it on Raspbian the writer advised actually booting from a hard drive.

I was thinking about mounting a 100GB partition from an external USB drive as /home/jim/build so all my building stuff would be located there. My boot microSD is just 32GB so I doubt it's big enough anyway.


Jim A
Posts: 6
Joined: Mon Jan 14, 2019 7:36 pm

Re: building AUR packages

Postby graysky » Mon Jan 14, 2019 9:12 pm

I build in tmpfs via an NFS share from my workstation that has 32 G of RAM on it. Works great. Adjust yours based on free memory.

On the workstation:
Code: Select all
% grep scratch /etc/fstab
tmpfs /scratch  tmpfs size=27G,nodev,lazytime  0 0

Code: Select all
% cat /etc/exports

You want to bind mount the two, see the NFS page on the Wiki.

On the RPi3:
Code: Select all
% mount | grep scratch
pong.lan:/scratch on /scratch type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=,local_lock=none,addr=
Posts: 480
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests