mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 07:33:00 +00:00
Avoid activating RAIDs/etc also in EFI mode
This commit is contained in:
parent
a17813efa0
commit
2d2aecaf99
2 changed files with 15 additions and 0 deletions
13
livecd-tools-21.1.efi.no.dm.luks.patch
Normal file
13
livecd-tools-21.1.efi.no.dm.luks.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/imgcreate/live.py b/imgcreate/live.py
|
||||
index cc69c19..aba9de9 100644
|
||||
--- a/imgcreate/live.py
|
||||
+++ b/imgcreate/live.py
|
||||
@@ -819,6 +819,8 @@ search --no-floppy --set=root -l '%(isolabel)s'
|
||||
else:
|
||||
long = self.product
|
||||
|
||||
+ kernel_options += " rd.luks=0 rd.md=0 rd.dm=0"
|
||||
+
|
||||
for index in range(0, 9):
|
||||
# we don't support xen kernels
|
||||
if os.path.exists("%s/EFI/BOOT/xen%d.gz" %(isodir, index)):
|
|
@ -25,6 +25,7 @@ Patch8: livecd-tools-21.1.isolinux.plymouth.fixes.patch
|
|||
Patch9: livecd-tools-21.1.efi.grub.cfg.patch
|
||||
Patch10: livecd-tools-21.1.pkg.installation.fix.patch
|
||||
Patch11: livecd-tools-21.1.drop.initramfs.patch
|
||||
Patch12: livecd-tools-21.1.efi.no.dm.luks.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
|
||||
|
@ -85,6 +86,7 @@ like live image or appliances.
|
|||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
%build
|
||||
make
|
||||
|
|
Loading…
Add table
Reference in a new issue