summaryrefslogtreecommitdiffstats
path: root/config/deb.am
diff options
context:
space:
mode:
authorqzdanis <[email protected]>2020-12-03 13:01:16 -0500
committerGitHub <[email protected]>2020-12-03 10:01:16 -0800
commit9109b89cd767165cdf24454f3c8477bb1eae2637 (patch)
tree66ecaabb143242c704feea4897549194499cc56a /config/deb.am
parent0aacde2e9a818942f4e25ab765b3a4849aac6de8 (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Quentin Zdanis <[email protected]> Closes #11269
Diffstat (limited to 'config/deb.am')
-rw-r--r--config/deb.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deb.am b/config/deb.am
index 81dc8a306..639a46efd 100644
--- a/config/deb.am
+++ b/config/deb.am
@@ -53,7 +53,7 @@ deb-utils: deb-local rpm-utils-initramfs
## Arguments need to be passed to dh_shlibdeps. Alien provides no mechanism
## to do this, so we install a shim onto the path which calls the real
## dh_shlibdeps with the required arguments.
- path_prepend=`mktemp -d /tmp/intercept.XXX`; \
+ path_prepend=`mktemp -d /tmp/intercept.XXXXXX`; \
echo "#$(SHELL)" > $${path_prepend}/dh_shlibdeps; \
echo "`which dh_shlibdeps` -- \
-xlibuutil3linux -xlibnvpair3linux -xlibzfs4linux -xlibzpool4linux" \