Fix broken SYSROOT and add it to configure script.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-22 15:12:20 +02:00
1 parent 57b167f9aa
commit 36c59e77b4
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ int main(int argc, char* argv[])
run("/bin/mount -n -o remount,rw /");
#endif
#ifdef SYSROOT
run(SYSROOT, "/", NULL, MS_MOVE, NULL);
mount(SYSROOT, "/", NULL, MS_MOVE, NULL);
#endif
_d("Root FS up, calling hooks ...");