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.

Thought?

Jim A
jfabernathy
 
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
/srv/nfs          10.1.8.0/24(fsid=0,no_subtree_check,sync,ro)
/srv/nfs/scratch  10.1.8.0/24(fsid=2,no_subtree_check,sync,no_root_squash,rw)


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=10.1.8.108,local_lock=none,addr=10.1.8.228)
graysky
 
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 3 guests