Am 11.03.2011 16:55, schrieb Thomas S Hatch:
On Fri, Mar 11, 2011 at 5:50 AM, Thomas Bächler <thomas@archlinux.org>wrote:
Am 11.03.2011 00:45, schrieb Thomas S Hatch:
Wait, you are saying that insmod will load gzipped mods if compiled differently?
No. depmod, modinfo and modprobe can do it, insmod can't.
Thanks! Unfortunately I had to fix it with a dirty, dirty hack, and I will have to write a substantial patch to libguestfs to fix it upstream, but at least it works. Check out my horrid hack: https://github.com/thatch45/archpkgs/blob/master/libguestfs/libguestfs.insta...
While this works, I am open to suggestions :) I also think that this script probably explains my conundrum better.
It looks like it is much easier to teach insmod gzip. If I see this right, it is actually trivial, although I did not try. module-init-tools didn't have a git commit for 9 months, so I don't know how fast they would accept a patch.