zfs-dkms: patch dracut module setup so that dracut won't fail if zfs module does not exist [release 2.1.12-2mamba;Thu Jun 08 2023]
This commit is contained in:
parent
c6a5fd1189
commit
40e6900ae9
11
zfs-2.1.12-dracut-do-not-fail-if-module-is-missing.patch
Normal file
11
zfs-2.1.12-dracut-do-not-fail-if-module-is-missing.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- zfs-2.1.12/contrib/dracut/90zfs/module-setup.sh.in.orig 2023-06-08 09:49:01.694185811 +0200
|
||||||
|
+++ zfs-2.1.12/contrib/dracut/90zfs/module-setup.sh.in 2023-06-08 09:49:13.223120806 +0200
|
||||||
|
@@ -19,7 +19,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
installkernel() {
|
||||||
|
- instmods -c zfs
|
||||||
|
+ instmods zfs
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
12
zfs.spec
12
zfs.spec
@ -1,6 +1,6 @@
|
|||||||
Name: zfs
|
Name: zfs
|
||||||
Version: 2.1.11
|
Version: 2.1.12
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An advanced file system and volume manager
|
Summary: An advanced file system and volume manager
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|||||||
URL: https://zfsonlinux.org
|
URL: https://zfsonlinux.org
|
||||||
Source: https://github.com/zfsonlinux/zfs.git/zfs-%{version}/zfs-%{version}.tar.bz2
|
Source: https://github.com/zfsonlinux/zfs.git/zfs-%{version}/zfs-%{version}.tar.bz2
|
||||||
Patch0: zfs-2.1.6-only-build-the-module-in-dkms.conf.patch
|
Patch0: zfs-2.1.6-only-build-the-module-in-dkms.conf.patch
|
||||||
|
Patch1: zfs-2.1.12-dracut-do-not-fail-if-module-is-missing.patch
|
||||||
License: Common Development and Distribution License
|
License: Common Development and Distribution License
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -71,6 +72,7 @@ This package contains the Python libraries for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch 0 -p1 -b .only-build-the-module-in-dkms.conf
|
%patch 0 -p1 -b .only-build-the-module-in-dkms.conf
|
||||||
|
%patch 1 -p1
|
||||||
#-D -T
|
#-D -T
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -263,6 +265,12 @@ fi
|
|||||||
%{python3_sitelib}/pyzfs-*-py*.egg-info/*
|
%{python3_sitelib}/pyzfs-*-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.12-2mamba
|
||||||
|
- zfs-dkms: patch dracut module setup so that dracut won't fail if zfs module does not exist
|
||||||
|
|
||||||
|
* Wed Jun 07 2023 Automatic Build System <autodist@mambasoft.it> 2.1.12-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat Apr 22 2023 Automatic Build System <autodist@mambasoft.it> 2.1.11-1mamba
|
* Sat Apr 22 2023 Automatic Build System <autodist@mambasoft.it> 2.1.11-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user