diff --git a/.gitignore b/.gitignore index e236766e..896f01ff 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ util/local .gdb_history kernel/symbols.S base/usr/python +base/usr/bin/* +base/usr/lib/* diff --git a/apps/init.c b/apps/init.c index 051c6bdb..d0f57ea7 100644 --- a/apps/init.c +++ b/apps/init.c @@ -21,8 +21,8 @@ int start_options(char * args[]) { int pid = syscall_fork(); if (!pid) { char * _envp[] = { - "LD_LIBRARY_PATH=/lib", - "PATH=/bin", + "LD_LIBRARY_PATH=/lib:/usr/lib", + "PATH=/bin:/usr/bin", "USER=root", "HOME=/home/root", NULL, diff --git a/base/usr/bin/.dummy b/base/usr/bin/.dummy new file mode 100644 index 00000000..e69de29b diff --git a/base/usr/bin/lua b/base/usr/bin/lua deleted file mode 100755 index 93fd71e3..00000000 Binary files a/base/usr/bin/lua and /dev/null differ diff --git a/base/usr/lib/.dummy b/base/usr/lib/.dummy new file mode 100644 index 00000000..e69de29b