Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
NodeOS 1.0.0-RC3 "refactor"... with a Bonus #325
After some hiatus, there has been some work here on the project, and after some work... here is it the (in)famous RC3 with the so much talked refactor :-D
It was known that NodeOS architecture was still too much dependent of the original centrilized design in part done due to the CUSL. This made it dificult to maintain because code was heavily cohexive, and the whole build process was painfully slow. After splittin it in several projects for each layer it was shown that this main project was almost empty having all the logic on each layer, so after some initial serious intention to port NodeOS to ARM once for all (but unsuccesful? More on this later), the conclusion was that it was needed to clean-up the code first. A lot. And so I did :-)
Regarding ARM, now both
And now, the...
The RC3 was published last week, but I have been really busy this week and also caught a cold so my mind was not in the perfect state to concentrate and write this essay, so since I had back in my mind the feeling that I almost got something "interesting" to work, I employed the few spare time I got to work on it a little bit each time, and finally this morning I got it:
piranna@slimbook-C16B:~/Proyectos/NodeOS$ npm run docker > NodeOS@1.0.0-RC3 docker /home/piranna/Proyectos/NodeOS > scripts/docker mount procfs: Resource busy Hello! I'm a user init script :-) Welcome to NodeOS!: username: nodeos · : password: ~ >
Yes, that's it: NodeOS fully booting inside Docker!!! :-D The problem with usersfs has been solved thanks to the refactor by being able now to convert the generated tarfile to a Docker Volume and assigning it directly to
~ > pstree init ├── exclfs ├─┬ nsh │ └── pstree └── nodeos-reverse- ~ > ls proc/ [ '1', '110', '16', '45', '47', 'acpi', ...
As we can see here, although we login with the