mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06:23:28 +01:00
1 parent
3b778f10eb
commit
9ab6ae4e63
1 file changed
+3
-2
+3
-2
@@ -190,8 +190,9 @@ main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mountPoint=$(mktemp -d)
|
mountPoint="/mnt/disko-install-root"
|
||||||
chmod 755 "${mountPoint}" # bchachefs wants 755
|
mkdir -p "${mountPoint}"
|
||||||
|
chmod 755 "${mountPoint}" # bcachefs wants 755
|
||||||
escapeMountPoint=$(printf '%q' "$mountPoint")
|
escapeMountPoint=$(printf '%q' "$mountPoint")
|
||||||
# shellcheck disable=SC2064
|
# shellcheck disable=SC2064
|
||||||
trap "cleanupMountPoint ${escapeMountPoint}" EXIT
|
trap "cleanupMountPoint ${escapeMountPoint}" EXIT
|
||||||
|
|||||||
Reference in new issue
Block a user