From 9ab6ae4e632016caac1c7e82e15b12b8c672ed76 Mon Sep 17 00:00:00 2001 From: Felix Uhl Date: Mon, 14 Oct 2024 11:00:15 +0200 Subject: [PATCH] disko-install: make output deterministic Fixes #827 --- disko-install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/disko-install b/disko-install index 0646542..e4cab15 100755 --- a/disko-install +++ b/disko-install @@ -190,8 +190,9 @@ main() { exit 1 fi - mountPoint=$(mktemp -d) - chmod 755 "${mountPoint}" # bchachefs wants 755 + mountPoint="/mnt/disko-install-root" + mkdir -p "${mountPoint}" + chmod 755 "${mountPoint}" # bcachefs wants 755 escapeMountPoint=$(printf '%q' "$mountPoint") # shellcheck disable=SC2064 trap "cleanupMountPoint ${escapeMountPoint}" EXIT