site  contact  subhomenews

/etc/networkmodules fixed

May 18, 2009 — BarryK
Pakt reported that the list of modules in the Network Wizard alpha6/7 is empty.

This list is actually in /etc/networkmodules, and unlike previous puppies, Woof builds generate this file dynamically at first boot, or when there is a version upgrade, or if a 'zdrv' SFS file is loaded or unloaded.

/etc/rc.d/rc.update calls /usr/sbin/ to update /etc/networkmodules.

What has gone wrong with alpha6/7/8 is that the format of file /lib/modules/2.6.29.x/modules.dep has changed. Previously, each entry had the full path of the module, for example:

/lib/modules/ /lib/modules/ /lib/modules/ /lib/modules/

Now it is:

kernel/drivers/net/wireless/rtl818x/rtl8180.ko: kernel/net/mac80211/mac80211.ko kernel/drivers/misc/eeprom/eeprom_93cx6.ko kernel/net/wireless/cfg80211.ko

This broke the script. Fixed, to work with either format.

Tags: woof