Skip to content

Commit 99bcb4e

Browse files
committed
Create a /lib directory when creating the filesystem.
1 parent 6d388a3 commit 99bcb4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

supervisor/shared/filesystem.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ void filesystem_init(bool create_allowed, bool force_create) {
9999
make_empty_file(&vfs_fat->fatfs, "/.Trashes");
100100
make_empty_file(&vfs_fat->fatfs, "/.fseventsd/no_log");
101101

102+
// create empty lib directory
103+
f_mkdir(&vfs_fat->fatfs, "/lib");
104+
102105
// and ensure everything is flushed
103106
supervisor_flash_flush();
104107
} else if (res != FR_OK) {

0 commit comments

Comments
 (0)