Split the 'make world' step in two steps (buildworld/installworld).
Note that 'buildworld' need only be done once. PR: docs/135316 Submitted by: Glen Barber <glen.j.barber at gmail.com>
This commit is contained in:
		
							parent
							
								
									ff448a5a21
								
							
						
					
					
						commit
						9aff312843
					
				
				
				Notes:
				
					svn2git
				
				2020-12-08 03:00:23 +00:00 
				
			
			svn path=/head/; revision=34417
					 1 changed files with 11 additions and 6 deletions
				
			
		|  | @ -242,7 +242,8 @@ | |||
|       <screen>&prompt.root; <userinput>setenv D <replaceable>/here/is/the/jail</replaceable></userinput> | ||||
| &prompt.root; <userinput>mkdir -p $D</userinput> <co id="jailpath"> | ||||
| &prompt.root; <userinput>cd /usr/src</userinput> | ||||
| &prompt.root; <userinput>make world DESTDIR=$D</userinput> <co id="jailworld"> | ||||
| &prompt.root; <userinput>make buildworld</userinput> <co id="jailbuildworld"> | ||||
| &prompt.root; <userinput>make installworld DESTDIR=$D</userinput> <co id="jailinstallworld"> | ||||
| &prompt.root; <userinput>cd etc/</userinput> <footnote><para>This step | ||||
| is not required on &os; 6.0 and later.</para></footnote> | ||||
| &prompt.root; <userinput>make distribution DESTDIR=$D</userinput> <co id="jaildistrib"> | ||||
|  | @ -262,13 +263,17 @@ is not required on &os; 6.0 and later.</para></footnote> | |||
| 	  of the &os; base system.</para> | ||||
|       </callout> | ||||
| 
 | ||||
|       <callout arearefs="jailworld"> | ||||
|       <callout arearefs="jailbuildworld"> | ||||
| 	<para>If you have already rebuilt your userland using | ||||
| 	  <command>make world</command> or <command>make buildworld</command>, | ||||
| 	  you can skip this step and install your existing userland into the | ||||
| 	  new jail.</para> | ||||
|       </callout> | ||||
| 
 | ||||
|       <callout arearefs="jailinstallworld"> | ||||
| 	<para>This command will populate the directory subtree chosen | ||||
| 	  as jail's physical location on the file system with the | ||||
| 	  necessary binaries, libraries, manual pages and so on. | ||||
| 	  Everything is done in the typical &os; style — first | ||||
| 	  everything is built/compiled, then installed to the | ||||
| 	  destination path.</para> | ||||
| 	  necessary binaries, libraries, manual pages and so on.</para> | ||||
|       </callout> | ||||
| 
 | ||||
|       <callout arearefs="jaildistrib"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue