Skip to content

Commit 202159d

Browse files
committed
Added mount directory to build_rootfs command
Signed-off-by: David Son <[email protected]>
1 parent 1f80072 commit 202159d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ $(FC_TEST_DATA_PATH)/root-drive-ssh-key $(FC_TEST_DATA_PATH)/root-drive-with-ssh
9797
# Need root to move ssh key to testdata location
9898
ifeq ($(GID), 0)
9999
$(MAKE) $(FIRECRACKER_DIR)
100-
$(FIRECRACKER_DIR)/tools/devtool build_rootfs
100+
$(FIRECRACKER_DIR)/tools/devtool build_rootfs -m $(FC_TEST_DATA_PATH)/mnt
101101
cp $(FIRECRACKER_DIR)/build/rootfs/bionic.rootfs.ext4 $(FC_TEST_DATA_PATH)/root-drive-with-ssh.img
102102
cp $(FIRECRACKER_DIR)/build/rootfs/ssh/id_rsa $(FC_TEST_DATA_PATH)/root-drive-ssh-key
103103
rm -rf $(FIRECRACKER_DIR)

0 commit comments

Comments
 (0)