So, in my quest to have kernels kexec'able from an external storage
device, it became clear quite quickly that I needed to have modules for
all of the possible kernels I might have to choose from on such external
storage.  Well it was always obvious I could need multiple versions of
modules.  What was not obvious was that versioning system for modules in
openwrt precludes this.

For example, when you install kmod-foo_2.6.25.20-brcm47xx-1_mipsel.ipk
it removes the modules that were installed with
kmod-foo_2.6.25.7-brcm47xx-1_mipsel.ipk.  There really is no need for
this, with the exception of the /etc/modules.d/ files.  But I wonder if
that could be versioned as well -- /etc/modules.d/2.6.25.7
and /etc/modules.d/2.6.25.20 for example.  /etc/init.d/boot could then
do:

        load_modules /etc/modules.d/$(uname -r)/*

instead of the current:

        load_modules /etc/modules.d/*

I've not really looked terribly deeply into how {i,o}okg parses
packaging data, but I guess the kernel version needs to be moved out of
the package version and into the package name.

Thots?

b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to