projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde2db3
)
kernel-modules: better match for arm architecure
author
Harald Hoyer
<harald@redhat.com>
Thu, 7 Mar 2013 13:15:56 +0000
(14:15 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 7 Mar 2013 13:17:33 +0000
(14:17 +0100)
modules.d/90kernel-modules/module-setup.sh
patch
|
blob
|
history
diff --git
a/modules.d/90kernel-modules/module-setup.sh
b/modules.d/90kernel-modules/module-setup.sh
index
a96e2cb
..
aa1bafc
100755
(executable)
--- a/
modules.d/90kernel-modules/module-setup.sh
+++ b/
modules.d/90kernel-modules/module-setup.sh
@@
-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