ALT Linux Bugzilla
– Attachment 16273 Details for
Bug 48193
необходима зависимость от пакета dracut
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч ддя поддержки make-initrd
envycontrol-3.4.0-alt-add-make-initrd.patch (text/plain), 588 bytes, created by
Boris Yumankulov
on 2024-06-16 09:41:00 MSK
(
hide
)
Description:
Патч ддя поддержки make-initrd
Filename:
MIME Type:
Creator:
Boris Yumankulov
Created:
2024-06-16 09:41:00 MSK
Size:
588 bytes
patch
obsolete
>diff --git a/envycontrol.py b/envycontrol.py >index 6b8cfef..d4797b9 100755 >--- a/envycontrol.py >+++ b/envycontrol.py >@@ -466,6 +466,9 @@ def rebuild_initramfs(): > # Debian and Ubuntu derivatives > if os.path.exists('/etc/debian_version'): > command = ['update-initramfs', '-u', '-k', 'all'] >+ # ALT Linux >+ elif os.path.exists('/etc/altlinux-release'): >+ command = ['make-initrd'] > # RHEL and SUSE derivatives > elif os.path.exists('/etc/redhat-release') or os.path.exists('/usr/bin/zypper'): > command = ['dracut', '--force', '--regenerate-all']
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48193
:
14888
| 16273