summaryrefslogtreecommitdiffstats
path: root/src/kernel-install/kernel-install.in
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2022-05-14 15:10:30 +0200
committerнаб <nabijaczleweli@nabijaczleweli.xyz>2022-05-14 15:14:33 +0200
commitb0bf2a802f2bf4cf11bc9390f7b1b36bc829c460 (patch)
tree7dc3e62f2a10b7bb7037a89ff47a35e1914db9f0 /src/kernel-install/kernel-install.in
parentkernel-install: 90-loaderentry: remove shopt (diff)
downloadsystemd-b0bf2a802f2bf4cf11bc9390f7b1b36bc829c460.tar.xz
systemd-b0bf2a802f2bf4cf11bc9390f7b1b36bc829c460.zip
kernel-install: respect $TMPDIR
Diffstat (limited to '')
-rwxr-xr-xsrc/kernel-install/kernel-install.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/kernel-install.in b/src/kernel-install/kernel-install.in
index 293ed044d1..b596d0c33e 100755
--- a/src/kernel-install/kernel-install.in
+++ b/src/kernel-install/kernel-install.in
@@ -204,7 +204,7 @@ cleanup() {
trap cleanup EXIT
-KERNEL_INSTALL_STAGING_AREA="$(mktemp -d -t -p /tmp kernel-install.staging.XXXXXXX)"
+KERNEL_INSTALL_STAGING_AREA="$(mktemp -d -t kernel-install.staging.XXXXXXX)"
export KERNEL_INSTALL_MACHINE_ID="$MACHINE_ID"
export KERNEL_INSTALL_ENTRY_TOKEN="$ENTRY_TOKEN"