>> 3.1.1d. Add sata_qstor; fix #83328.
authorTim Yamin <plasmaroo@gentoo.org>
Mon, 7 Mar 2005 00:48:03 +0000 (00:48 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Mon, 7 Mar 2005 00:48:03 +0000 (00:48 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@180 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc
genkernel
x86/modules_load
x86_64/modules_load

index fea8137521c94b414d746e8de9f483de811c2b28..cb74bfc1cea080abcb78cd4a737fab05fbd85f56 100644 (file)
@@ -126,6 +126,12 @@ chooseKeymap() {
        then
                echo -e "${GOOD}>>${NORMAL}${BOLD} Loading the ''${keymap}'' keymap...${NORMAL}"
                loadkmap < /lib/keymaps/${keymap}.map
+               xkeymap=${keymap}
+               echo ${keymap} | egrep -e "[0-9]+" >/dev/null 2>&1
+               if [ "$?" -eq '0'  ]; then
+                       xkeymap=`tail -n 7 /lib/keymaps/keymapList | grep ${keymap} | sed -r "s/.*\s+${keymap}\s+([a-z-]+).*/\1/g" | egrep -v 1`
+               fi
+               echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
        elif [ "$keymap" = '' ]
        then
                echo -e "${GOOD}>>${NORMAL}${BOLD} Keeping default keymap...${NORMAL}"
@@ -189,6 +195,7 @@ bootstrapCD() {
                # Not in /dev/cdroms: try /dev/ide/cd
                [ "${REAL_ROOT}" = '' ] && findcdmount /newroot/dev/ide/cd/*
                [ "${REAL_ROOT}" = '' ] && findcdmount /newroot/dev/sr0
+               [ "${REAL_ROOT}" = '' ] && findcdmount /newroot/dev/sd* # USB Keychain
        else
                # Device specified on command line
                findcdmount /newroot/${CDROOT_DEV}
index 3b41076d21671acd7a83a7ecc56eb55f2c30e76a..6c09d6edb9a672da5ce8ed14b762521bbceb4028 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Genkernel v3
 
-GK_V='3.1.1c'
+GK_V='3.1.1d'
 TEMP='/var/tmp/genkernel'
 TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
 
index b1a34fc920c2a6005af45c8ec3439c5075de2946..e376ab0f253ba0ef6d4ef4e37b340c23c6060d14 100644 (file)
@@ -13,4 +13,4 @@ MODULES_ATARAID="ataraid pdcraid hptraid"
 MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs"
 MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd"
 MODULES_LVM2="dm-mod dm-snapshot dm-mirror"
-MODULES_SATA="sata_promise sata_sil sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vitesse ahci"
+MODULES_SATA="sata_promise sata_sil sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vitesse sata_qstor ahci"
index 285a826d35a40960071e3bbe8018041197a919ad..705411215426261a3289584e0b415f6a544620a2 100644 (file)
@@ -3,4 +3,4 @@ MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"
 MODULES_ATARAID="ataraid pdcraid hptraid"
 MODULES_PCMCIA="ide-cs"
 MODULES_USB="ehci-hcd uhci-hcd ohci-hcd hid usb-storage"
-MODULES_SATA="sata_promise sata_sil sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vitesse ahci"
+MODULES_SATA="sata_promise sata_sil sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vitesse sata_qstor ahci"