Page MenuHomeFreeBSD

error out on any error, and ignore two errors that were already ignored (on cross builds w/o qemu)...
Needs ReviewPublic

Authored by jmg on Feb 27 2023, 9:39 PM.
Tags
None
Referenced Files
F81660556: D38813.diff
Fri, Apr 19, 2:49 PM
Unknown Object (File)
Feb 18 2024, 8:27 AM
Unknown Object (File)
Jan 11 2024, 9:25 PM
Unknown Object (File)
Dec 12 2023, 10:33 PM
Unknown Object (File)
Dec 9 2023, 4:46 PM
Unknown Object (File)
Dec 8 2023, 11:42 PM
Unknown Object (File)
Dec 2 2023, 8:21 PM
Unknown Object (File)
Dec 1 2023, 2:41 PM
Subscribers

Details

Reviewers
cperciva
gjb
Summary

More than once I forgot to buildkernel, and the vm image scrolls
right past the error which you don't find out till you try to boot
the system. Adding set -e fixes that, BUT when cross building, w/o
qemu, a couple commands fail...

newaliases is now a noop since the switch to dma, and ldconfig appears
to be run at start anyways, so not sure why it's needed here...

Test Plan

built amd64 vm on arm64 and it completed w/o error...

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50049
Build 46941: arc lint + arc unit