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
Unknown Object (File)
Fri, Jun 28, 6:12 PM
Unknown Object (File)
Jun 15 2024, 1:29 PM
Unknown Object (File)
May 31 2024, 5:59 AM
Unknown Object (File)
May 12 2024, 11:16 AM
Unknown Object (File)
May 9 2024, 9:14 AM
Unknown Object (File)
May 7 2024, 9:28 PM
Unknown Object (File)
May 7 2024, 9:28 PM
Unknown Object (File)
May 7 2024, 5:51 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