Raymond Wooninck wrote:
On Tuesday, April 17, 2012, Ludwig Nussel
wrote: Ok, so I modified cp_bin of mkinitrd to not copy binaries that depend on glib. initrd size went down to 5.8MB The culprit is udev. mkinitrd blindly copies anything in /lib/udev including dependencies to initrd which doubles the size. With that hack after installing plymouth the initrd has 8.9MB After forcefully removing suspend and splashy while keeping plymouth the initrd has 6.6MB. So that should be the basis for your measurements. The superfluous dependencies added by udev and splashy need to be addressed.
Is this with the latest plymouth from Factory ? If so, then this should have the text support already in it.
It's milestone 3
However could you send me your modified copy of cp_bin, so that I can make some tests here to see if things are working and what the size increase would be.
Just add the following lines in cp_bin in /lib/mkinitrd/scripts/setup-prepare.sh: if grep -q libglib -- "$1"; then echo "skipping $1, requires glib" return 0 fi cu Ludwig PS: initrd down to 5.5MB by not including halt and reboot from systemd which require systemd libs and libdbus ... -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org