File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ initramfs-tools (0.142-0deepin7) unstable; urgency=medium
2+
3+ * not wait udev to improve boot performance.
4+
5+ -- xinpeng.wang <wangxinpeng@uniontech.com> Wed, 28 May 2025 14:30:46 +0800
6+
17initramfs-tools (0.142-0deepin6) unstable; urgency=medium
28
39 * uos does not allow modifying init without turning on grub
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ uniontech-fix-mul-update-initramfs-process.patch
55uniontech-wait_udev_in_s4.patch
66uniontech-support-fix-init.patch
77uniontech-check-init.patch
8+ uniontech-not-wait-udev.patch
Original file line number Diff line number Diff line change 1+ Index: deepin-initramfs-tools/scripts/functions
2+ ===================================================================
3+ --- deepin-initramfs-tools.orig/scripts/functions 2025-05-28 14:34:35.000000000 +0800
4+ +++ deepin-initramfs-tools/scripts/functions 2025-05-28 14:35:11.267074420 +0800
5+ @@ -144,7 +144,8 @@
6+ continue
7+ fi
8+ # shellcheck disable=SC2086
9+ - /sbin/modprobe $m
10+ + # add & to improve boot performance
11+ + /sbin/modprobe $m &
12+ done < /conf/modules
13+ fi
14+ }
15+ @@ -393,8 +394,10 @@
16+ # Wait for queued kernel/udev events
17+ wait_for_udev()
18+ {
19+ - command -v udevadm >/dev/null 2>&1 || return 0
20+ - udevadm settle ${1:+--timeout=$1}
21+ + # Not wait for udev to improve boot performance
22+ + return 0
23+ + # command -v udevadm >/dev/null 2>&1 || return 0
24+ + # udevadm settle ${1:+--timeout=$1}
25+ }
26+
27+ # Find a specific fstab entry
You can’t perform that action at this time.
0 commit comments