kernel-modules: better match for arm architecure
authorHarald Hoyer <harald@redhat.com>
Thu, 7 Mar 2013 13:15:56 +0000 (14:15 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 7 Mar 2013 13:17:33 +0000 (14:17 +0100)
modules.d/90kernel-modules/module-setup.sh

index a96e2cb..aa1bafc 100755 (executable)
@@ -44,7 +44,7 @@ installkernel() {
             atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \
             hid-logitech-dj hid-microsoft firewire-ohci
 
-        if strstr "$(uname -i)" "arm"; then
+        if [[ "$(uname -p)" == arm* ]]; then
             # arm specific modules
             hostonly='' instmods sdhci_esdhc_imx mmci sdhci_tegra mvsdio omap omapdrm \
                 omap_hsmmc sdhci_dove ahci_platform pata_imx sata_mv