diff options
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c index a6669c3..e66cbf8 100644 --- a/src/database.c +++ b/src/database.c @@ -862,6 +862,8 @@ static int apk_db_create(struct apk_database *db) mkdirat(db->root_fd, "var", 0755); mkdirat(db->root_fd, "var/lib", 0755); mkdirat(db->root_fd, "var/lib/apk", 0755); + mkdirat(db->root_fd, "var/cache", 0755); + mkdirat(db->root_fd, "var/cache/misc", 0755); fd = openat(db->root_fd, "var/lib/apk/world", O_CREAT|O_RDWR|O_TRUNC, 0644); if (fd < 0) |