Am Sonntag, 6. Juli 2014, 16:10:29 schrieb Yves Blusseau: > Le 6 juil. 2014 à 15:57, kp kirchdoerfer <kap...@users.sourceforge.net> a écrit : > >> If we ALWAYS build busybox with the vi applet we don't need to build > >> separate initrd. > > > > True, but it consumes some more kb, which arent't useful for most of the > > users. > > Keep in mind - if we want to support MIPS-based routers we need to be > > small as possible, usually they don't have a lot of RAM (32 to 64 MB > > AFAIK). > True but i made a test with or without vi applet: > > busybox without vi: 371140 > busybox with vi: 388248 > > so the difference is only of 17k.
Yes, that's why I decided to without vi in busybox by default. > For me it's better to always compile busybox with vi (so there an editor in > ALL platform in initrd), than to have a mechanism to enable/disable vi > applet depending on the platform architecture (just to gain 17k). The > simple way is always the best ? Also true! :) We can always remove vi from a MIPS image, if it ever happens and we need a few kb. The mechanics has been implemented, and improved and can be seen in git history, if we need to come back. kp ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel