HomeFreeBSD

i-t: rewrite hooks

Description

i-t: rewrite hooks

This produces a leaner image, doesn't fail if zdb doesn't exist,
properly handles hostnameless systems, doesn't mention crypto modules
for no reason, doesn't add useless empty executable in hopes an
eight-year-old PR is merged, uses i-t builtins for all copies

Also optimize the checkbashisms filter to spawn one (or a few) awks
instead of one per regular file and remove initramfs/hooks therefrom due
to a command -v false positive

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12017

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on May 14 2021, 4:47 AM
GitHub <noreply@github.com>Committed on May 14 2021, 4:47 AM
Parents
rGfce29d6aa4b4: Fix dmu_recv_stream test for resumable
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG5236eafdcdf5: i-t: rewrite hooks (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).May 14 2021, 4:47 AM