| United States-English |
|
|
|
![]() |
System Administration Commands: Section 1M (Ref Pages Vol 2) > mmk_kernel(1M) |
|
NAMEmk_kernel — build a boot-able HP-UX kernel. DESCRIPTIONmk_kernel builds an executable file which can be used as a boot-able kernel. If the build succeeds, the newly built binary will be a file named vmunix_test located in the build directory, as defined below. The build directory is a directory where mk_kernel places files created by its processes. Other files that are created by the invocation of mk_kernel, such as conf.c and conf.o are left in the build directory. The build directory is /stand/build if the system file used is /stand/system, either by default or by designation. If another path is used to designate the system file, the build directory will be the present working directory. Libraries for the kernel are expected to be found in /usr/conf/lib. The master file used is the composite of files found under /usr/conf/master.d. mk_kernel exits with no action if the environment variable SW_INITIAL_INSTALL has the value of 1. SW_INITIAL_INSTALL is exported by SD with that value only when the system is undergoing its initial software system installation. Optionsmk_kernel recognizes the following options.
EXAMPLESmk_kernel -o /stand/vmunix Uses the file /stand/system to build a new kernel which will be placed in /stand/vmunix upon success. mk_kernel -s /mnt/altsys/stand/system.new Uses the file /mnt/altsys/stand/system.new to build a new kernel which will remain in file vmunix_test in the present working directory. mk_kernel -s /stand/system -o /tmp/new_kernel Uses the file /stand/system to build a new kernel which will be placed in /tmp/new_kernel upon success. |
||||||||||||||||||||||||||||
|
|||||||||||||||