Hi folks,

I have built sis rpm binary from source code successfully on ppc64 platform.

Whereas, the size of initrd is too large to netboot.
Since the protocol of netboot is bootp, I am not sure the maximum size of bootp can transfer. (zimage are not able to exceed no more than 10M? not sure . depend on openfirmware?)
In fact, the size of initrd I built has already reached 16M (gzip compressed 15M). I have tried to run si_prepareclient command with "--modules" option to recude the size of initrd.
But it make no sense.
After scanning the layout of entire initrd, I found out the "/lib" directory hold the majority size (14M) of initrd.
There are such as"libnss_ldap-2.3.4.so (2.5M),libcrypto.so.4 (1.1M)" files and so on.
I run "ldd" command to check such as "busybox" and so on binary's share libraries dependencies. I found they don't depend on "libnss_ldap.." or other lib files.
So, whether I can remove these files from "/lib" directory to reduce the size of the entire initrd?
If there are other official methods to reduce initrd size with busybox?  
I think our solution is modifying the busybox config file to reduce some unnecessary staff files or libaries.
Maybe there are some tricks?:)

 Thanks, Xiangjun
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to