[poky] kernel modules and opkg

Holger Hans Peter Freyther holger at freyther.de
Fri Oct 14 00:56:46 PDT 2011


Hi,

I am using opkg for one of my images (because I don't have enough space for
zypper, and only got apt4rpm work partially). Now module loading does not work
after installation. This is due opkg installing 'interceptors' for depmod and
update-modules, so the modprobe mISDN_l1loop is called before the real
update-modules has been called.

anyone else has seen this problem? should the interception be disabled for
opkg? should it intercept modprobe as well? is something like this done for RPM?



#!/bin/sh
if [ -n "$D" ]; then
	i586-poky-linux-depmod-2.6 -A -b $D -F /...System.map-2.6.39.4-yocto-standard
2.6.39.4-yocto-standard
else
	depmod -a
	update-modules || true
fi

if [ x"$D" = "x" ]; then
	modprobe mISDN_l1loop || true
fi



More information about the poky mailing list