>> 3.0.2c. Added more PCMCIA modules to the x86 module list; and added the bug

#52561 patch.


git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@110 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 21 years ago
parent 742cc0eb94
commit f47bf5ce52

@ -211,3 +211,15 @@ has_loop() {
return 1 return 1
fi fi
} }
isBootRO()
{
for mo in `grep ' /boot ' /proc/mounts | cut -d ' ' -f 4 | sed -e 's/,/ /'`
do
if [ "x${mo}x" == "xrox" ]
then
return 0
fi
done
return 1
}

@ -117,7 +117,7 @@ create_initrd_modules() {
print_info 2 "initrd: >> Searching for modules..." print_info 2 "initrd: >> Searching for modules..."
for i in `gen_dep_list` for i in `gen_dep_list`
do 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}" ] if [ -z "${mymod}" ]
then then
print_warning 2 "Warning :: ${i}${MOD_EXT} not found; skipping..." print_warning 2 "Warning :: ${i}${MOD_EXT} not found; skipping..."

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Genkernel v3 # Genkernel v3
GK_V='3.0.2b' GK_V='3.0.2c'
TEMP='/var/tmp/genkernel' TEMP='/var/tmp/genkernel'
small_die() { small_die() {
@ -91,6 +91,19 @@ then
print_warning 1 ' Run ``mount /boot`` to mount it!' print_warning 1 ' Run ``mount /boot`` to mount it!'
echo echo
fi 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
fi fi
@ -232,6 +245,8 @@ else
print_info 1 'initrd compiled successfully!' print_info 1 'initrd compiled successfully!'
fi fi
[ "${BOOTRW}" != '' ] && mount -o remount,ro /boot
print_info 1 '' print_info 1 ''
print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug' print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug'
print_info 1 'is about the default genkernel configuration...' print_info 1 'is about the default genkernel configuration...'

@ -13,5 +13,5 @@ sim710 sym53c416"
MODULES_FIREWIRE="ieee1394 ohci1394 sbp2" MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"
MODULES_ATARAID="ataraid pdcraid hptraid" 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" MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage"

Loading…
Cancel
Save