runtimejs / runtime-cli

Command line tools for runtime.js
7 stars 5 forks source link

Makefile Approach #11

Open adminy opened 5 years ago

adminy commented 5 years ago

Is there a shell / Makefile that can do all this in the same ways you're using only javascript to do it?

This is nice to have, but not really easy to change, I assume you where following some sort of process to make this packing process. It may not have started with a make file but you typed in shell commands to get things working before right? Have you anything that could help me make the make file version? Thanks.

PROPHESSOR commented 5 years ago
sudo apt install nodejs
sudo npm install -g runtime-cli

Now you have the runtime command

adminy commented 5 years ago

@PROPHESSOR not that, I am actually talking about the steps runtime command is taking as a Makefile

PROPHESSOR commented 5 years ago

You may look here to view the basic commands' algorithm Or I didn't understand you.

adminy commented 5 years ago

Lots of requires, all very spaghetti ...

Why does this cli completely move away from building the kernel ... and fetches it from repo ? And it turns out the kernel file gets downloaded in .runtime/kernel.2064 in your home directory, why make this so much more spaggetti?

I have more questions, why do all the complicated initrd structure? Couldn't a normal tar file do?