IDBUILD(1M) RISC/os Reference Manual IDBUILD(1M)
NAME
idbuild - build new kernel
SYNOPSYS
/etc/conf/bin/idbuild [ -s suffix ]
DESCRIPTION
This command builds a new system kernel.
The following option is available:
-s suffix
The -s option specifies the system name suffix to be
given the new kernel. If this option is not used, the
default suffix is _local or _ijc_local depending on the
machine type.
The new kernel is built by executing make in
/usr/src/uts/mips directory. If the make completes without
error, the new kernel unix.rxxx_suffix will be in
/usr/src/uts/mips.
Once the build has finished, the file /etc/.new_unix is
written containing the name of the newly-built kernel. The
sysadm installpkg and removepkg commands use this file as a
flag to determine whether or not the system needs to be
rebooted.
idreboot reads this file to get the name of the new kernel,
moves the kernel from /usr/src/uts/mips to root, links it to
/unix, removes /etc/.new_unix and bring the system down to
init state 0. The next time the system is started, it will
boot the new kernel.
DIAGONSTICS
An exit value of zero indicatess success. If an error was
ecounterd, idbuild will exit with a non-zero value.
SEE ALSO
idtune(1M)
ORIGIN
Prime Computer, Inc.
Printed 11/19/92 Page 1