Add ehci-tegra.ko to initramfs to allow rawhide tegra based platforms to boot off USB disks

This commit is contained in:
Kyle McMartin 2013-07-24 12:35:22 -04:00
parent e1b27a0de5
commit 7d89cb372e
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,30 @@
From ad2565c8ff9c4309f2e5aacbd24856b615f20478 Mon Sep 17 00:00:00 2001
From: Kyle McMartin <kyle@redhat.com>
Date: Tue, 23 Jul 2013 22:07:05 -0400
Subject: [PATCH] dracut: 90kernel-modules/module-setup.sh: add ehci-tegra.ko
on arm
kernel-tegra is now part of the base kernel package, so bits and pieces
ended up modular, and as a result, if you boot off the internal USB, you
drop to a dracut shell with no way of getting to root.
---
modules.d/90kernel-modules/module-setup.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
index 8388a08..3d4048a 100755
--- a/modules.d/90kernel-modules/module-setup.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
@@ -47,7 +47,8 @@ installkernel() {
if [[ "$(uname -p)" == arm* ]]; then
# arm specific modules
hostonly='' instmods sdhci_esdhc_imx mmci sdhci_tegra mvsdio omap omapdrm \
- omap_hsmmc panel-tfp410 sdhci_dove ahci_platform pata_imx sata_mv
+ omap_hsmmc panel-tfp410 sdhci_dove ahci_platform pata_imx sata_mv \
+ ehci-tegra
fi
# install virtual machine support
--
1.8.3.1

View File

@ -10,7 +10,7 @@
Name: dracut
Version: 030
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Initramfs generator using udev
%if 0%{?fedora} || 0%{?rhel}
@ -30,6 +30,7 @@ URL: https://dracut.wiki.kernel.org/
# http://git.kernel.org/?p=boot/dracut/dracut.git;a=snapshot;h=%{version};sf=tgz
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.bz2
Patch1: 0001-arm-add-ehci_tegra-to-initramfs.patch
BuildRequires: bash git
@ -445,6 +446,10 @@ rm -rf -- $RPM_BUILD_ROOT
%endif
%changelog
* Wed Jul 24 2013 Kyle McMartin <kyle@redhat.com> 030-2
- Add ehci-tegra.ko to initramfs to allow rawhide tegra based platforms
to boot off USB disks.
* Wed Jul 17 2013 Harald Hoyer <harald@redhat.com> 030-1
- support new persistent network interface names
- fix findmnt calls, prevents hang on stale NFS mounts