HomeFreeBSD

Add compatibility for busybox mktemp

Description

Add compatibility for busybox mktemp

Busybox's mktemp requires at least six X's in the template, causing
the current sed --in-place check to fail because the file does not
exist. This change adds additional X's to mktemp templates that do
not already have at least six X's in them.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Quentin Zdanis <zdanisq@gmail.com>
Closes #11269

Details

Provenance
qzdanis <zdanisq@gmail.com>Authored on Dec 3 2020, 6:01 PM
GitHub <noreply@github.com>Committed on Dec 3 2020, 6:01 PM
Parents
rG0aacde2e9a81: FreeBSD: notify userspace when a vdev is removed
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG9109b89cd767: Add compatibility for busybox mktemp (authored by qzdanis <zdanisq@gmail.com>).Dec 3 2020, 6:01 PM