Page MenuHomeFreeBSD

rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh
ClosedPublic

Authored by imp on Feb 11 2024, 2:28 AM.
Tags
None
Referenced Files
F102676939: D43831.id134130.diff
Fri, Nov 15, 5:49 PM
Unknown Object (File)
Mon, Oct 21, 12:57 AM
Unknown Object (File)
Mon, Oct 21, 12:57 AM
Unknown Object (File)
Mon, Oct 21, 12:56 AM
Unknown Object (File)
Fri, Oct 18, 7:14 PM
Unknown Object (File)
Fri, Oct 18, 8:05 AM
Unknown Object (File)
Sep 29 2024, 5:54 AM
Unknown Object (File)
Sep 27 2024, 9:26 AM
Subscribers

Details

Summary

Reboot now emulates the nextboot shell script completely. Retire the
nextboot.sh script and install the link. Retain the same manual page,
since there's enough differences between nextboot and reboot that
talking about nextboot would likely be confusing in nextboot.8

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Feb 11 2024, 2:28 AM
imp created this revision.

Do you need to do something with /rescue?

In D43831#1000047, @kib wrote:

Do you need to do something with /rescue?

Yes I do. It's easy to fix. I'll add a review for it..

Also, rescue + nextboot is currently broken for zfs anyway. The nextboot script used zfsbootcfg, but that was never added to rescue when the call was added to nextboot.sh. Yet another loose end I'm cleaning up.

This revision is now accepted and ready to land.Feb 12 2024, 5:14 PM

Note: Folding this with D43843 on push.

imp retitled this revision from nextboot: Install nextboot as a link to reboot to rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh.Feb 12 2024, 6:39 PM