Skip to contentSkip to conversation

kernel modules and opkg

DISCUSSION Holger Hans Peter Freyther 1 participant 1 message Oct 14, 2011

lore
Share & tools
lore
#0 lore raw

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