Adding scripts to kernel image
Hi,
I am developing a system on an embedded PowerPC and have managed to get a kernel up and running on it. However, the system does not have a ROM and I have to type in everything that is not in the kernel image and save it every single time. I was wondering whether there is a way to add scripts in the kernel source so that after building the kernel its there in the image itself. For example : I have to type in the default.script file everytime to set up networking. This file is supposed to be in /usr/share/udhcpc/default.script So what needs to be done so that the kernel image has this file in it? Thanks Tushar |
That is one purpose of an initrd. You can put whatever you want there. It ends up being built into the kernel, so each kernel image also becomes the application. Sometimes that is not inappropriate.
--- rod. |
All times are GMT -5. The time now is 03:19 PM. |