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: 30
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:
$this->bbcode_second_pass_code('', '% grep scratch /etc/fstab
tmpfs /scratch tmpfs size=27G,nodev,lazytime 0 0')

$this->bbcode_second_pass_code('', '% 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:
$this->bbcode_second_pass_code('', '% 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
Developer
 
Posts: 1728
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 10 guests