From 1aea2f8ca7913e129c1a1cdc99c23f72bb0cc75b Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 28 Jul 2024 23:38:23 +0000 Subject: [PATCH] fix: make sure /mnt exists --- scripts/make-image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/make-image.sh b/scripts/make-image.sh index 64e0ea0..c1d1bf8 100755 --- a/scripts/make-image.sh +++ b/scripts/make-image.sh @@ -17,6 +17,7 @@ drive=$(losetup -P -f --show ${file}) mkfs.vfat -F32 ${drive}p1 mkfs.ext3 ${drive}p2 +mkdir -p /mnt mount ${drive}p2 /mnt mkdir /mnt/boot mount ${drive}p1 /mnt/boot