Skip to content

Commit 6212c92

Browse files
committed
.
1 parent b2b9456 commit 6212c92

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,17 @@ make_image() {
5555

5656
# TODO: Write device bootloader
5757

58-
mkdir -p mnt
58+
mkdir -p mnt && sync
5959

6060
if ! mount ${LOOP_DEV}p2 mnt; then
61-
fdisk -l
61+
# fdisk -l
6262
print_err "mount ${LOOP_DEV}p2 failed!"
6363
fi
6464

65-
mkdir -p mnt/boot
65+
mkdir -p mnt/boot && sync
6666

6767
if ! mount ${LOOP_DEV}p1 mnt/boot; then
68-
fdisk -l
68+
# fdisk -l
6969
print_err "mount ${LOOP_DEV}p1 failed!"
7070
fi
7171

0 commit comments

Comments
 (0)