CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/01/18 00:54:36

Modified files:
        sys/arch/octeon/stand/rdboot: cmd.c rdboot.c 

Log message:
stub 'time' command;  OK miod

octeon (like loongson at least) lacks clock code and thus the 'time'
command besides MD boot* manuals.

Since unsupported commands are treated as file names and explicit
kernels overrule any /bsd.{boot,upgrade} fallback in general,
this causes sysupgrade to not kick in until boot.conf is fixed:

>> OpenBSD/octeon BOOT 1.5
upgrade detected: switching to /bsd.upgrade
failed to load kernel sd0a:time: No such file or directory
will try /bsd
boot>
NOTE: random seed is being reused.
booting sd0a:/bsd

Make 'time' do nothing and return success to ensure it doesn't effect
subsequent execution.

Reply via email to