added patch to fix path of dmsetup [release 040-5mamba;Sat Jan 17 2015]
This commit is contained in:
parent
1f93028a94
commit
198d348727
12
dracut-040-dmsetup_fix_path.patch
Normal file
12
dracut-040-dmsetup_fix_path.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nru dracut-040.orig/modules.d/90dm/59-persistent-storage-dm.rules dracut-040/modules.d/90dm/59-persistent-storage-dm.rules
|
||||||
|
--- dracut-040.orig/modules.d/90dm/59-persistent-storage-dm.rules 2014-10-24 13:19:58.000000000 +0200
|
||||||
|
+++ dracut-040/modules.d/90dm/59-persistent-storage-dm.rules 2015-01-17 17:50:32.157264737 +0100
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
KERNEL!="dm-[0-9]*", GOTO="dm_end"
|
||||||
|
ACTION=="add", GOTO="dm_end"
|
||||||
|
-IMPORT{program}="/sbin/dmsetup info -c --nameprefixes --unquoted --rows --noheadings -o name,uuid,suspended,readonly,major,minor,open,tables_loaded,names_using_dev -j%M -m%m"
|
||||||
|
+IMPORT{program}="/usr/sbin/dmsetup info -c --nameprefixes --unquoted --rows --noheadings -o name,uuid,suspended,readonly,major,minor,open,tables_loaded,names_using_dev -j%M -m%m"
|
||||||
|
ENV{DM_NAME}!="?*", GOTO="dm_end"
|
||||||
|
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_end"
|
||||||
|
ENV{DM_UUID}=="CRYPT-TEMP-?*", GOTO="dm_end"
|
@ -1,6 +1,6 @@
|
|||||||
Name: dracut
|
Name: dracut
|
||||||
Version: 040
|
Version: 040
|
||||||
Release: 4mamba
|
Release: 5mamba
|
||||||
Summary: Generic, modular initramfs generation tool that can be used across various distributions
|
Summary: Generic, modular initramfs generation tool that can be used across various distributions
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -21,6 +21,7 @@ Patch17: dracut-032-fix-libdirs.patch
|
|||||||
Patch18: dracut-040-fix-udevdir-detection.patch
|
Patch18: dracut-040-fix-udevdir-detection.patch
|
||||||
Patch19: dracut-040-no-gzip-rsyncable.patch
|
Patch19: dracut-040-no-gzip-rsyncable.patch
|
||||||
Patch20: dracut-040-fix-autofs4-ipv6-modules.patch
|
Patch20: dracut-040-fix-autofs4-ipv6-modules.patch
|
||||||
|
Patch21: dracut-040-dmsetup_fix_path.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -107,6 +108,7 @@ This package conatins extra optional modules for dracut.
|
|||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
%patch19 -p1
|
%patch19 -p1
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
|
%patch21 -p1
|
||||||
chmod +x modules.d/99squash-live/*
|
chmod +x modules.d/99squash-live/*
|
||||||
|
|
||||||
# remove *.orig files created by patched to prevent from being installed
|
# remove *.orig files created by patched to prevent from being installed
|
||||||
@ -334,6 +336,9 @@ ln -s ../bin/mkinitrd %{buildroot}%{_sbindir}/mkinitrd
|
|||||||
#%doc NEWS README README.generic README.kernel README.modules TODO
|
#%doc NEWS README README.generic README.kernel README.modules TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 040-5mamba
|
||||||
|
- added patch to fix path of dmsetup
|
||||||
|
|
||||||
* Sat Jan 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 040-4mamba
|
* Sat Jan 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 040-4mamba
|
||||||
- added patch to fix error loading autofs4 and ipv6 modules
|
- added patch to fix error loading autofs4 and ipv6 modules
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user