mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 19:39:40 +01:00
update-modules: don't run modutils.sh if systemd is installed
systemd has its own mechanism for loading kernel modules at startup (From OE-Core rev: 553deffc8040afabd56b1c1d87a8a8d24bbae5d0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
118a0afe1a
commit
f164a95b43
@@ -181,7 +181,8 @@ fi
|
||||
mv "$MODCONFTMPFILE" "$MODCONFFILE"
|
||||
mv "$MODULESTMPFILE" "$MODULESFILE"
|
||||
|
||||
if [ $first_time -eq 1 ]; then
|
||||
# Don't run modutils.sh if systemd is installed
|
||||
if [ $first_time -eq 1 ] && [ ! -e /bin/systemctl ]; then
|
||||
/etc/init.d/modutils.sh || true
|
||||
fi
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
RDEPENDS_${PN} = "module-init-tools-depmod"
|
||||
PR = "r11"
|
||||
|
||||
PR = "r12"
|
||||
|
||||
SRC_URI = "file://update-modules \
|
||||
file://COPYING.GPL"
|
||||
|
||||
Reference in New Issue
Block a user