summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-30 00:27:54 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-30 00:27:54 +0200
commit56485baea55de18ab22ca82ebaebdbfed1b353bc (patch)
treebadcad84a2e89577d425ead61d30f845ef63ac27
parent8a12ecca32766ecdceb72cae76e93f8aadcf3669 (diff)
downloadmeta-openembedded-56485baea55de18ab22ca82ebaebdbfed1b353bc.tar.gz
systemd: clean up serial port handling some more and fix the screen clearing problem
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-core/systemd/systemd-serialgetty.bb4
-rw-r--r--meta-oe/recipes-core/systemd/systemd_git.bb10
2 files changed, 10 insertions, 4 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
index acc6768370..d7e8571628 100644
--- a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
+++ b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
@@ -32,12 +32,12 @@ do_install() {
32 fi 32 fi
33} 33}
34 34
35PACKAGES = "{$PN} ${PN}-dbg ${PN}-dev ${PN}-doc" 35PACKAGES = "${PN} ${PN}-dbg ${PN}-dev ${PN}-doc"
36 36
37RRECOMMENDS_${PN} = "" 37RRECOMMENDS_${PN} = ""
38RDEPENDS_${PN} = "systemd" 38RDEPENDS_${PN} = "systemd"
39 39
40# This is a machine specific file 40# This is a machine specific file
41FILES_${PN} = "${base_libdir}/systemd/system/serial-getty@.service ${sysconfdir}/systemd/system/getty.target.wants/getty@${@get_console(bb, d)}.service" 41FILES_${PN} = "${base_libdir}/systemd/system/serial-getty@.service ${sysconfdir}"
42PACKAGE_ARCH = "${MACHINE_ARCH}" 42PACKAGE_ARCH = "${MACHINE_ARCH}"
43 43
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index 465a7f6dcc..2a313e0f22 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -15,11 +15,11 @@ inherit gitpkgv
15PKGV = "v${GITPKGVTAG}" 15PKGV = "v${GITPKGVTAG}"
16 16
17PV = "git" 17PV = "git"
18PR = "r2" 18PR = "r3"
19 19
20inherit autotools vala 20inherit autotools vala
21 21
22SRCREV = "ae556c210942cb6986c6d77b58505b5daa66bbe2" 22SRCREV = "8585357a0e5e9f4d56e999d7cd1a73e77ae0eb80"
23 23
24SRC_URI = "git://anongit.freedesktop.org/systemd;protocol=git \ 24SRC_URI = "git://anongit.freedesktop.org/systemd;protocol=git \
25 file://0001-systemd-disable-xml-file-stuff-and-introspection.patch \ 25 file://0001-systemd-disable-xml-file-stuff-and-introspection.patch \
@@ -37,6 +37,12 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
37 --disable-gtk \ 37 --disable-gtk \
38 " 38 "
39 39
40do_install() {
41 autotools_do_install
42 # provided by a seperate recipe
43 rm ${D}${base_libdir}/systemd/system/serial-getty* -f
44}
45
40# ARM doesn't support hugepages, so don't try to mount them 46# ARM doesn't support hugepages, so don't try to mount them
41do_install_append_arm() { 47do_install_append_arm() {
42 rm -f ${D}${base_libdir}/systemd/system/*hugepages.mount 48 rm -f ${D}${base_libdir}/systemd/system/*hugepages.mount