diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2013-07-24 12:35:22 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2013-07-24 12:35:22 -0400 |
commit | 7d89cb372e465e80d02e8cc81a8b201d2b2cd10b (patch) | |
tree | ea8c21a77cf862fa10846cac95a4072d54a26469 | |
parent | e1b27a0de546c469902c6752ae753b5db7c14ba2 (diff) | |
download | dracut-7d89cb372e465e80d02e8cc81a8b201d2b2cd10b.tar.gz dracut-7d89cb372e465e80d02e8cc81a8b201d2b2cd10b.tar.xz dracut-7d89cb372e465e80d02e8cc81a8b201d2b2cd10b.zip |
Add ehci-tegra.ko to initramfs to allow rawhide tegra based platforms to boot off USB disks
-rw-r--r-- | 0001-arm-add-ehci_tegra-to-initramfs.patch | 30 | ||||
-rw-r--r-- | dracut.spec | 7 |
2 files changed, 36 insertions, 1 deletions
diff --git a/0001-arm-add-ehci_tegra-to-initramfs.patch b/0001-arm-add-ehci_tegra-to-initramfs.patch new file mode 100644 index 0000000..c9257a6 --- /dev/null +++ b/0001-arm-add-ehci_tegra-to-initramfs.patch @@ -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 + diff --git a/dracut.spec b/dracut.spec index 9bb90cd..bc5b446 100644 --- a/dracut.spec +++ b/dracut.spec @@ -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 |