what's best way for playing with kernel configurations and source code
Hi everybody, How you can reconfigure and also modify your source code without affected your system? Please, if you want to suggest a virtual machine is the best option, then could you tell me why? Thanks in advance. -- Best Regards, Mohammad Alshamlan <http://www.linkedin.com/in/maalshamlan/> ARCS: Advanced Real-time and Computing Systems Lab<http://arcs-lab.eng.fiu.edu/> Department of Electrical and Computer Engineering FIU College of Engineering and Computing 10555 West Flagler St. EC 3900 Miami, FL 33174
On Sun, May 26, 2013 at 9:13 PM, Alshamlan, Mohammad <malsh002@fiu.edu> wrote:
Hi everybody,
How you can reconfigure and also modify your source code without affected your system? Please, if you want to suggest a virtual machine is the best option, then could you tell me why? Thanks in advance.
Usually while kernel development, you do not overwrite your existing distro-provided kernel, but install your built kernel as a new option. This helps you in not losing access to your machine in case the kernel changes you have made are serious. For keeping different configurations at a source level, you can use git local branches. See http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging -- Sankar P http://psankar.blogspot.com
On Mon, May 27, 2013 at 12:01:20AM +0530, Sankar P wrote:
On Sun, May 26, 2013 at 9:13 PM, Alshamlan, Mohammad <malsh002@fiu.edu> wrote:
Hi everybody,
How you can reconfigure and also modify your source code without affected your system? Please, if you want to suggest a virtual machine is the best option, then could you tell me why? Thanks in advance.
Usually while kernel development, you do not overwrite your existing distro-provided kernel, but install your built kernel as a new option. This helps you in not losing access to your machine in case the kernel changes you have made are serious.
If they're serious enough you might still break your file system and lose your data, so it's in any case good to have a backup. ;-) -- Thanks, Jonathan Neuschäfer
participants (3)
-
Alshamlan, Mohammad -
Jonathan Neuschäfer -
Sankar P