Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using nfs /usr/src for patches

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
Just a simple question. I've got a Sparc5 as firewall and a Sparc20 as Web server. Both of them have a 2G HD which is not enough to store the source tree. So I installed the source on one of my linux servers. I've then simple mounted the drive per nfs when I was doing any patching.

My question is: could there be any problem because I'm using the same source tree for two machines ? Which are the important steps to not have any dep problems : make cleandirs ?

Thanks for any help
marc
 
there should be no problems with source tree as long as you mount it read-only or build kernels outside it

ie

config -s /usr/src/sys -b /home/user/sparc50 ./SPARC50
 
there should be no problems with source tree as long as you mount it read-only or build kernels outside it

ie

config -s /usr/src/sys -b /home/user/sparc50 SPARC50

make depend && make
su - ...
cp /bsd /bsd.old && cat bsd >/bsd
....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top