You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/templates/3.6/6_ac_install_patch/sys-kernel/dracut/dracut_fallback_mdadm.patch

15 lines
710 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Calculate format=diff
Патч для загрузки с неполных raid массивов
diff --git modules.d/90mdraid/parse-md.sh modules.d/90mdraid/parse-md.sh
index dd7bda2..3c88b6f 100755
--- modules.d/90mdraid/parse-md.sh
+++ modules.d/90mdraid/parse-md.sh
@@ -8,6 +8,7 @@ if ( ! [ -n "$MD_UUID" ] && ! getargbool 0 rd.auto ) || ! getargbool 1 rd.md -d
info "rd.md=0: removing MD RAID activation"
udevproperty rd_NO_MD=1
else
+ /sbin/initqueue --timeout --name 50-mdraid_start --onetime --unique /sbin/mdraid_start
# rewrite the md rules to only process the specified raid array
if [ -n "$MD_UUID" ]; then
for f in /etc/udev/rules.d/65-md-incremental*.rules; do