diff options
author | dzwdz | 2023-06-25 16:38:32 +0200 |
---|---|---|
committer | dzwdz | 2023-06-25 16:38:32 +0200 |
commit | d4542c336a6cbfb43497055f19a85e7713f2eed7 (patch) | |
tree | 9f4a68974c3392b0ea546ecc94324911e86f0528 /src/user/app/init | |
parent | fffd37f1680664bf055d8f5603ed1967718a6492 (diff) |
ports: reimplement the ports system from scratch
side stuff:
* removed sltar since it wasn't working anyways
* made signal() no longer panic, as that broke certain ports (oops)
* doom now ships with the FreeDOOM WADs
* /usr/ was aliased to /init/usr/, more directories were added to /bin/
to improve compat with ports
Diffstat (limited to 'src/user/app/init')
-rw-r--r-- | src/user/app/init/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c index b9219ec..9528a28 100644 --- a/src/user/app/init/init.c +++ b/src/user/app/init/init.c @@ -47,11 +47,18 @@ int main(void) { MOUNT_AT("/") { fs_whitelist((const char*[]){"/kdev/ps2/kb", NULL}); } ps2_drv(); } + MOUNT_AT("/usr/") { + fs_union((const char*[]){ + "/init/usr/", + NULL + }); + } MOUNT_AT("/bin/") { fs_union((const char*[]){ "/init/bin/amd64/", "/init/bin/sh/", "/init/usr/bin/", + "/init/usr/local/bin/", NULL }); } |