On 02/04/2015 03:17 AM, Per Jessen wrote:
Anton Aylward wrote:
[snip]
Dracut, if I choose to upgrade to 13.2, which I’m not going to do for a while for a variety of reasons, seems to have the ability to exclude modules. I can't find an easy way to do that with the old mkinitrd.
I'm fairly certain dracut will only build even bigger initrds for you. I haven't been looking at it in any detail, just a gut feeling.
13.1 - desktop initrd ~= 22Mb. 13.2 - server initrd ~= 5.5Mb 10.3 - desktop initrd ~= 4.4Mb 11.4 - server initrd ~= 4.1Mb.
I suspect the enormous desktop initrd is due to graphics drivers.
I don't know. This is 13.1 and I have 24M Feb 3 09:02 /boot/initrd-3.18.5-1.gf378da4-default 24M Feb 3 09:02 /boot/initrd-3.18.5-1.gf378da4-desktop So. What's in one and not the other? # lsinitrd initrd-3.18.5-1.gf378da4-default >/tmp/initrd.server.txt # lsinitrd initrd-3.18.5-1.gf378da4-desktop >/tmp/initrd.desktop.txt Then, after taking out the '-desktop' and '-default' # diff /tmp/initrd.desktop.txt /tmp/initrd.server.txt 52a53,56
lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/core lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/core/usbcore.ko lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/common lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/common/usb-common.ko 54a59,62 lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/host/uhci-hcd.ko lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/host/ehci-pci.ko lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/host/ohci-hcd.ko lib/modules/3.18.5-1.gf378da4/kernel/drivers/usb/host/ehci-hcd.ko 81a90 lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/hid-cherry.ko 83a93 lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/hid-belkin.ko 85a96,97 lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/usbhid lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/usbhid/usbhid.ko 88a101,103 lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/hid-microsoft.ko lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/hid-apple.ko lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/hid-generic.ko 89a105 lib/modules/3.18.5-1.gf378da4/kernel/drivers/hid/hid-ezkey.ko
Hmm. It seems that the server actually has more in it! But its back to those HID modules that never do get used. The "24M" was touring, the actual numbers are 24889235 initrd-3.18.5-1.gf378da4-default 24609273 initrd-3.18.5-1.gf378da4-desktop -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org