Compare commits
2 Commits
master
...
master-ris
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 221f9a2795 | |
David Abdurachmanov | 2af59e4cd0 |
|
@ -0,0 +1,25 @@
|
|||
From 289f299fd12949af2b6da0c6d8068cb66b377d46 Mon Sep 17 00:00:00 2001
|
||||
From: rpm-build <rpm-build>
|
||||
Date: Fri, 29 May 2020 06:57:30 +0000
|
||||
Subject: [PATCH] Add riscv64 to module-setup.sh
|
||||
|
||||
---
|
||||
modules.d/90kernel-modules/module-setup.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
||||
index bc3810c..ba5f615 100755
|
||||
--- a/modules.d/90kernel-modules/module-setup.sh
|
||||
+++ b/modules.d/90kernel-modules/module-setup.sh
|
||||
@@ -60,7 +60,7 @@ installkernel() {
|
||||
virtio virtio_ring virtio_pci virtio_scsi \
|
||||
"=drivers/pcmcia"
|
||||
|
||||
- if [[ "${DRACUT_ARCH:-$(uname -m)}" == arm* || "${DRACUT_ARCH:-$(uname -m)}" == aarch64 ]]; then
|
||||
+ if [[ "${DRACUT_ARCH:-$(uname -m)}" == arm* || "${DRACUT_ARCH:-$(uname -m)}" == aarch64 || "${DRACUT_ARCH:-$(uname -m)}" == riscv64 ]]; then
|
||||
# arm/aarch64 specific modules
|
||||
_blockfuncs+='|dw_mc_probe|dw_mci_pltfm_register'
|
||||
instmods \
|
||||
--
|
||||
2.26.2
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
Name: dracut
|
||||
Version: 050
|
||||
Release: %{dist_free_release}%{?dist}
|
||||
Release: %{dist_free_release}.0.riscv64%{?dist}
|
||||
|
||||
Summary: Initramfs generator using udev
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
|
@ -54,6 +54,8 @@ Patch23: 0023.patch
|
|||
Patch24: 0024.patch
|
||||
Patch25: 0025.patch
|
||||
|
||||
Patch40: 0001-Add-riscv64-to-module-setup.sh.patch
|
||||
|
||||
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
||||
|
||||
BuildRequires: bash
|
||||
|
@ -507,6 +509,10 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 29 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 050-26.git20200316.0.riscv64
|
||||
- Apply sames on riscv64 as on aarch64 in module-setup.sh
|
||||
- This is needed to incl. MMC/SD support in initramfs
|
||||
|
||||
* Mon Mar 16 2020 Harald Hoyer <harald@redhat.com> - 050-26.git20200316
|
||||
- fixed `--tmpdir` mishandling
|
||||
|
||||
|
|
Loading…
Reference in New Issue