Skip to content

Commit 10498c2

Browse files
committed
build_library: Create extraction script temp files in $TMPDIR or /tmp
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
1 parent 68def07 commit 10498c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_library/extract-initramfs-from-vmlinuz.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [[ ! -s "${image}" ]]; then
5353
fi
5454
mkdir -p "${out}"
5555

56-
tmp=$(mktemp --directory eifv-XXXXXX)
56+
tmp=$(mktemp --directory -t eifv-XXXXXX)
5757
trap 'rm -rf -- "${tmp}"' EXIT
5858
ROOTFS_IDX=0
5959

0 commit comments

Comments
 (0)