2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-25 23:02:20 +00:00

Kill redundant udevd prior to starting the root fs

Having multiple udevd produces ambiguity and confusing
This commit is contained in:
Jarrod Johnson 2022-04-14 13:56:42 -04:00
parent 193d37029f
commit fb9546cbd6

View File

@ -123,4 +123,5 @@ if grep installtodisk /proc/cmdline > /dev/null; then
fi
mv /lib/modules/$(uname -r) /lib/modules/$(uname -r)-ramfs
ln -s /sysroot/lib/modules/$(uname -r) /lib/modules/
kill $(grep -l ^/usr/lib/systemd/systemd-udevd /proc/*/cmdline|cut -d/ -f 3)
exec /opt/confluent/bin/start_root