Skip to content

Commit cde8000

Browse files
authored
Merge pull request adafruit#1948 from cpforbes/issue1937
Create a /lib directory when creating the filesystem.
2 parents 6d388a3 + 99bcb4e commit cde8000

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)