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)
Sun, Oct 19, 5:25 AM
Unknown Object (File)
Sun, Oct 5, 8:26 PM
Unknown Object (File)
Sun, Sep 21, 3:47 PM
Unknown Object (File)
Sep 12 2025, 11:15 AM
Unknown Object (File)
Sep 8 2025, 8:40 PM
Unknown Object (File)
Sep 7 2025, 7:37 PM
Unknown Object (File)
Sep 7 2025, 5:44 AM
Unknown Object (File)
Aug 30 2025, 11:40 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