Skip to content

Commit 699ba16

Browse files
committed
Allow specifying ROOTFS_FORMAT for rootfs-mount target
1 parent f3f4dff commit 699ba16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ rootfs: ext4 cpio
293293
.PHONY: rootfs-mount
294294
rootfs-mount:
295295
sudo modprobe nbd
296-
sudo qemu-nbd -c /dev/nbd0 $(ROOTFS)
296+
sudo qemu-nbd -c /dev/nbd0 -f $(ROOTFS_FORMAT) $(ROOTFS)
297297
mkdir -p /tmp/rootfs
298298
sudo mount /dev/nbd0 /tmp/rootfs
299299

0 commit comments

Comments
 (0)