You are not logged in.
Hello,
I have an idea.
I want to build android kernel, but I afraid I cannot finished, because sometimes I haven't enough time. I need to reboot, or switch off the pc.
So how can I pause, save state or resume the build process.
I though about it from virtualbox, but mine problems are. The VB do full virtual pc, I dont want to separate cpu, memory and something, and install new arch linux to guest.
I want only save and resume the build process.
How can I do?
I wait your answer.
Thanks Gyu..
Offline
If you are compiling kernel "by hand", cancel it with ctrl+c for example, and restart the compilation later, it won't recompile the parts you had already compiled (unless you change your .config or something).
so basically the kernel building should be resumed automatically.
this probably won't work if your building the kernel with makepkg though.
Offline
You could try using SIGCHLD and SIGCONT on the compiler or [ba]sh script, but I never tested that particular case.
man 7 signalEdit: That would not work with rebooting, I skimmed too quickly here, my bad.
Last edited by emeres (2014-08-24 12:43:08)
Offline
As said above, if you are compiling the kernel through a makefile (which you normally do), just do Ctrl+C. Issuing a new make command will start right back where it stopped.
Offline
What about hibernating your computer?
"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/
https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024
Offline
Hibernating should work too. (Not sure if the above post was a rhetoric question or not)
Offline
How long does building a kernel take? Even on my slowest Atom, it only takes 35 minutes. Surely you can plan for this?
Last edited by 2ManyDogs (2014-08-25 03:00:33)
Offline
Hello, I wanted to build android with x64, but I seen the source I can build only for x86. :-(
Offline