Signed-off-by: Andreas Müller <[email protected]>
---
 .../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 5b903a0..5dd9e82 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):
 do_install() {
        if [ ! ${@get_baudrate(d)} = "" ]; then
                sed -i -e s/\@BAUDRATE\@/${@get_baudrate(d)}/g 
${WORKDIR}/[email protected]
-               install -d ${D}${base_libdir}/systemd/system/
+               install -d ${D}${systemd_unitdir}/system/
                install -d ${D}${sysconfdir}/systemd/system/getty.target.wants/
-               install ${WORKDIR}/[email protected] 
${D}${base_libdir}/systemd/system/
+               install ${WORKDIR}/[email protected] 
${D}${systemd_unitdir}/system/
 
                # enable the service
-               ln -sf ${base_libdir}/systemd/system/[email protected] \
+               ln -sf ${systemd_unitdir}/system/[email protected] \
                        
${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty@${@get_console(d)}.service
        fi
 }
@@ -42,5 +42,5 @@ RRECOMMENDS_${PN} = ""
 RDEPENDS_${PN} = "systemd"
 
 # This is a machine specific file
-FILES_${PN} = "${base_libdir}/systemd/system/[email protected] 
${sysconfdir}"
+FILES_${PN} = "${systemd_unitdir}/system/[email protected] ${sysconfdir}"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.6.5


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to