diff options
author | Steve Sakoman <steve@sakoman.com> | 2012-01-06 20:51:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-10 17:28:44 +0000 |
commit | f164a95b43fdda1e774195622f31f0cd998138d3 (patch) | |
tree | d41569422ab018e9bc59b0726546b4c3b41eceb9 | |
parent | 118a0afe1ad766d80aee64792ca2cafbecbf4854 (diff) | |
download | poky-f164a95b43fdda1e774195622f31f0cd998138d3.tar.gz |
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>
-rwxr-xr-x | meta/recipes-kernel/update-modules/update-modules-1.0/update-modules | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/update-modules/update-modules_1.0.bb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-kernel/update-modules/update-modules-1.0/update-modules b/meta/recipes-kernel/update-modules/update-modules-1.0/update-modules index 636fe1c0d4..7ee7df8192 100755 --- a/meta/recipes-kernel/update-modules/update-modules-1.0/update-modules +++ b/meta/recipes-kernel/update-modules/update-modules-1.0/update-modules | |||
@@ -181,7 +181,8 @@ fi | |||
181 | mv "$MODCONFTMPFILE" "$MODCONFFILE" | 181 | mv "$MODCONFTMPFILE" "$MODCONFFILE" |
182 | mv "$MODULESTMPFILE" "$MODULESFILE" | 182 | mv "$MODULESTMPFILE" "$MODULESFILE" |
183 | 183 | ||
184 | if [ $first_time -eq 1 ]; then | 184 | # Don't run modutils.sh if systemd is installed |
185 | if [ $first_time -eq 1 ] && [ ! -e /bin/systemctl ]; then | ||
185 | /etc/init.d/modutils.sh || true | 186 | /etc/init.d/modutils.sh || true |
186 | fi | 187 | fi |
187 | 188 | ||
diff --git a/meta/recipes-kernel/update-modules/update-modules_1.0.bb b/meta/recipes-kernel/update-modules/update-modules_1.0.bb index dc4496507e..d9697de6c3 100644 --- a/meta/recipes-kernel/update-modules/update-modules_1.0.bb +++ b/meta/recipes-kernel/update-modules/update-modules_1.0.bb | |||
@@ -4,7 +4,8 @@ LICENSE = "GPLv2" | |||
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" | 4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" |
5 | 5 | ||
6 | RDEPENDS_${PN} = "module-init-tools-depmod" | 6 | RDEPENDS_${PN} = "module-init-tools-depmod" |
7 | PR = "r11" | 7 | |
8 | PR = "r12" | ||
8 | 9 | ||
9 | SRC_URI = "file://update-modules \ | 10 | SRC_URI = "file://update-modules \ |
10 | file://COPYING.GPL" | 11 | file://COPYING.GPL" |