Source

vabs / var / vabs / VL-ISO-STD / src / modules

Full commit
#!/bin/bash
#echo "enter kernel version"
#read ver
ver="$1"
#rm -r lib/modules/2.6.*
mkdir -p lib/modules/$ver/kernel/drivers
for i in freq_table.ko \
mperf.ko \
joydev.ko \
processor.ko \
ioatdma.ko \
shpchp.ko \
rtc_cmos.ko \
i2c_i801.ko \
rtc_core.ko \
applesmc.ko \
thermal_sys.ko \
pcmcia_core.ko \
i2c_core.ko \
i5k_amb.ko \
rtc_lib.ko \
dca.ko \
hwmon.ko \
sbshc.ko \
sg.ko \
button.ko \
isp1362-hcd.ko \
isp1760.ko \
r8a66597-hcd.ko \
u132-hcd.ko \
xhci-hcd.ko \
hidp \
hidp \
hid \
hid-lcpower \
hid-keytouch \
hid-ntrig \
hid-primax \
hid-multitouch \
hid-roccat-kovaplus \
hid-magicmouse \
hid-holtekff \
hid-topseed \
hid-sjoy \
hid-dr \
hid-pl \
hid-gyration \
hid-sony \
hid-roccat \
hid-zpff \
hid-roccat-arvo \
hid-waltop \
hid-elecom \
hid-gaff \
hid-ortek \
hid-samsung \
hid-tivo \
hid-tmff \
hid-picolcd \
hid-roccat-isku \
hid-wacom \
hid-wiimote \
hid-roccat-pyra \
hid-uclogic \
hid-saitek \
hid-emsff \
hid-roccat-common \
hid-roccat-kone \
hid-zydacron \
hid-axff \
hid-prodikeys \
hid-logitech-dj \
hid-sunplus \
hid-petalynx \
hid-twinhan \
hid-roccat-koneplus \
hid-speedlink \
g_hid \
keyboard \
newtonkbd \
gpio_keys_polled \
omap4-keypad \
mpr121_touchkey \
sunkbd \
adp5589-keys \
lkkbd \
mcs_touchkey \
matrix_keypad \
stowaway \
max7359_keypad \
tca8418_keypad \
lm8323 \
gpio_keys \
adp5588-keys \
qt1070 \
xtkbd \
qt2160 \
tca6416-keypad \
opencores-kbd \
mouse \
pc110pad \
appletouch \
logibm \
synaptics_i2c \
inport \
vsxxxaa \
gpio_mouse \
synaptics_usb \
bcm5974 \
adp5588-keys.ko \
gpio_keys.ko \
lm8323.ko \
matrix_keypad.ko \
max7359_keypad.ko \
mcs_touchkey.ko \
opencores-kbd.ko \
qt2160.ko \
tca6416-keypad.ko \
appletouch.ko \
bcm5974.ko \
gpio_mouse.ko \
inport.ko \
logibm.ko \
pc110pad.ko \
synaptics_i2c.ko \
vsxxxaa.ko \
evdev.ko \
input-polldev.ko \
sparse-keymap.ko \
usbhid.ko \
hid.ko \
psmouse.ko \
sermouse.ko \
e1000.ko \
pcnet32.ko \
mii.ko;do
	mod=$(find /lib/modules/$ver/ -name $i)
	dir="lib/modules/$ver/kernel/drivers"
	if [ $mod ];then
		cp -r $mod $dir
		echo "copied $mod to $dir"
	else
		echo "$i not found in $ver"
	fi
	chroot . depmod -aq $ver
done