distro_fedora: Fix raw_path loop arg and mktemp typo
This commit is contained in:
parent
bc3c8f1949
commit
15d088bb86
|
@ -43,11 +43,11 @@ fetch_base_system()
|
||||||
|
|
||||||
log "Mounting generic rootfs" internal
|
log "Mounting generic rootfs" internal
|
||||||
local raw_loop
|
local raw_loop
|
||||||
raw_loop=$(losetup -Pf --show "raw_path") || {
|
raw_loop=$(losetup -Pf --show "$raw_path") || {
|
||||||
log "Failed to setup loop device" ierror
|
log "Failed to setup loop device" ierror
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
local raw_mnt=$(mktemp --temp=./tmp -d)
|
local raw_mnt=$(mktemp --tmpdir=./tmp -d)
|
||||||
mount "${raw_loop}p3" "$raw_mnt" || {
|
mount "${raw_loop}p3" "$raw_mnt" || {
|
||||||
log "Failed to mount loop device" ierror
|
log "Failed to mount loop device" ierror
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue