print_info 2 "initrd: >> Searching for modules..."
for i in `gen_dep_list`
do
- mymod=`find /lib/modules/${KV} -name "${i}${MOD_EXT}"`
+ mymod=`find /lib/modules/${KV} -name "${i}${MOD_EXT}" | head -n 1`
if [ -z "${mymod}" ]
then
print_warning 2 "Warning :: ${i}${MOD_EXT} not found; skipping..."
#!/bin/bash
# Genkernel v3
-GK_V='3.0.2b'
+GK_V='3.0.2c'
TEMP='/var/tmp/genkernel'
small_die() {
print_warning 1 ' Run ``mount /boot`` to mount it!'
echo
fi
+ elif isBootRO
+ then
+ if isTrue ${MOUNTBOOT}
+ then
+ if ! mount -o remount,rw /boot
+ then
+ print_warning 1 "${BOLD}WARNING${NORMAL}: Failed to remount /boot RW!"
+ echo
+ else
+ print_info 1 "mount: /boot remounted read/write successfully!"
+ BOOTRW=1
+ fi
+ fi
fi
fi
print_info 1 'initrd compiled successfully!'
fi
+[ "${BOOTRW}" != '' ] && mount -o remount,ro /boot
+
print_info 1 ''
print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug'
print_info 1 'is about the default genkernel configuration...'
MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"
MODULES_ATARAID="ataraid pdcraid hptraid"
-MODULES_PCMCIA="ide-cs"
+MODULES_PCMCIA="pcmcia_core i82365 yenta_socket ds ide-cs"
MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage"