diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-03-22 19:59:37 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-23 07:55:12 +0100 |
commit | 0658069375e9dfe8c6b5e93b578ca56efaad6512 (patch) | |
tree | 0b5c9a3efff7a6671f13b73633f61244ab9553b4 /meta-oe/recipes-core | |
parent | 815124f28e80b00230f820d663966af3423e210b (diff) | |
download | meta-openembedded-0658069375e9dfe8c6b5e93b578ca56efaad6512.tar.gz |
systemd-serialgetty: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r-- | meta-oe/recipes-core/systemd/systemd-serialgetty.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb index 5b903a08c..5dd9e823d 100644 --- a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb +++ b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb | |||
@@ -26,12 +26,12 @@ def get_console(d): | |||
26 | do_install() { | 26 | do_install() { |
27 | if [ ! ${@get_baudrate(d)} = "" ]; then | 27 | if [ ! ${@get_baudrate(d)} = "" ]; then |
28 | sed -i -e s/\@BAUDRATE\@/${@get_baudrate(d)}/g ${WORKDIR}/serial-getty@.service | 28 | sed -i -e s/\@BAUDRATE\@/${@get_baudrate(d)}/g ${WORKDIR}/serial-getty@.service |
29 | install -d ${D}${base_libdir}/systemd/system/ | 29 | install -d ${D}${systemd_unitdir}/system/ |
30 | install -d ${D}${sysconfdir}/systemd/system/getty.target.wants/ | 30 | install -d ${D}${sysconfdir}/systemd/system/getty.target.wants/ |
31 | install ${WORKDIR}/serial-getty@.service ${D}${base_libdir}/systemd/system/ | 31 | install ${WORKDIR}/serial-getty@.service ${D}${systemd_unitdir}/system/ |
32 | 32 | ||
33 | # enable the service | 33 | # enable the service |
34 | ln -sf ${base_libdir}/systemd/system/serial-getty@.service \ | 34 | ln -sf ${systemd_unitdir}/system/serial-getty@.service \ |
35 | ${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty@${@get_console(d)}.service | 35 | ${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty@${@get_console(d)}.service |
36 | fi | 36 | fi |
37 | } | 37 | } |
@@ -42,5 +42,5 @@ RRECOMMENDS_${PN} = "" | |||
42 | RDEPENDS_${PN} = "systemd" | 42 | RDEPENDS_${PN} = "systemd" |
43 | 43 | ||
44 | # This is a machine specific file | 44 | # This is a machine specific file |
45 | FILES_${PN} = "${base_libdir}/systemd/system/serial-getty@.service ${sysconfdir}" | 45 | FILES_${PN} = "${systemd_unitdir}/system/serial-getty@.service ${sysconfdir}" |
46 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 46 | PACKAGE_ARCH = "${MACHINE_ARCH}" |