parent
84bfef1a6b
commit
6a761c72e2
|
@ -1227,7 +1227,7 @@ static int apk_db_create(struct apk_database *db)
|
|||
|
||||
mkdirat(db->root_fd, "tmp", 01777);
|
||||
mkdirat(db->root_fd, "dev", 0755);
|
||||
mknodat(db->root_fd, "dev/null", 0666, makedev(1, 3));
|
||||
mknodat(db->root_fd, "dev/null", S_IFCHR | 0666, makedev(1, 3));
|
||||
mkdirat(db->root_fd, "etc", 0755);
|
||||
mkdirat(db->root_fd, "etc/apk", 0755);
|
||||
mkdirat(db->root_fd, "lib", 0755);
|
||||
|
|
Loading…
Reference in New Issue