Firefox OS/Performance/Modifying boot.img: Difference between revisions

Line 41: Line 41:
This is not the most elegant of procedures, however I have not as of yet found a better way. (The correct solution I suppose would be extending the <code>unmkbootimg</code> utility appropriately).
This is not the most elegant of procedures, however I have not as of yet found a better way. (The correct solution I suppose would be extending the <code>unmkbootimg</code> utility appropriately).


So now that we have all three parts we continue on. We will keep the kernel and device tree around unchanged for rebuilding the boot.img. The ramdisk on the other hand, we will unpack into a directory, make changes, and repackage. This is where files such as '''init''' and '''init.rc''' (and various other *.rc's) live.  
So now that we have all three parts we continue on. We will keep the kernel and device tree around unchanged for rebuilding the boot.img. The ramdisk on the other hand, we will unpack into a directory, make changes, and then repackage. This is where files such as '''init''' and '''init.rc''' (and various other *.rc's) live.  


Firstly, unpack the ramdisk into a directory:
Firstly, unpack the ramdisk into a directory:
Confirmed users
125

edits