From 15d088bb86afd29343828ca074976b624068480c Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sun, 27 Oct 2024 20:12:47 +0500 Subject: [PATCH] distro_fedora: Fix raw_path loop arg and mktemp typo --- common.d/common.fedora.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.d/common.fedora.sh b/common.d/common.fedora.sh index 3968dcf..baf9702 100644 --- a/common.d/common.fedora.sh +++ b/common.d/common.fedora.sh @@ -43,11 +43,11 @@ fetch_base_system() log "Mounting generic rootfs" internal local raw_loop - raw_loop=$(losetup -Pf --show "raw_path") || { + raw_loop=$(losetup -Pf --show "$raw_path") || { log "Failed to setup loop device" ierror return 1 } - local raw_mnt=$(mktemp --temp=./tmp -d) + local raw_mnt=$(mktemp --tmpdir=./tmp -d) mount "${raw_loop}p3" "$raw_mnt" || { log "Failed to mount loop device" ierror return 1