[oe-commits] Koen Kooi : systemd: split out machine specific files into a subpackage

git version control git at git.openembedded.org
Sat May 7 10:32:59 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 63a7ee5cdad431a1c4cb6d8de7ee802f3a2e8fe6
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=63a7ee5cdad431a1c4cb6d8de7ee802f3a2e8fe6

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat May  7 11:00:38 2011 +0200

systemd: split out machine specific files into a subpackage

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/systemd/systemd_git.bb |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes/systemd/systemd_git.bb b/recipes/systemd/systemd_git.bb
index ae34acf..dd0c89a 100644
--- a/recipes/systemd/systemd_git.bb
+++ b/recipes/systemd/systemd_git.bb
@@ -8,7 +8,7 @@ PRIORITY = "optional"
 SECTION = "base/shell"
 
 PV = "v26"
-PR = "r6"
+PR = "r7"
 PR_append = "+${SRCPV}"
 
 inherit autotools vala update-alternatives
@@ -54,10 +54,14 @@ ALTERNATIVE_LINK = "${base_sbindir}/init"
 ALTERNATIVE_PATH = "${base_bindir}/systemd"
 ALTERNATIVE_PRIORITY = "80"
 
-PACKAGES =+ "${PN}-gui"
+PACKAGES =+ "${PN}-gui ${PN}-serialgetty"
 
 FILES_${PN}-gui = "${bindir}/systemadm"
 
+# This is a machine specific file
+FILES_${PN}-serialgetty = "${base_libdir}/systemd/system/serial-getty at .service ${sysconfdir}/systemd/system/getty.target.wants/getty@${@get_console(bb, d)}.service"
+PACKAGE_ARCH_${PN}-serialgetty = "${MACHINE_ARCH}"
+
 FILES_${PN} = " ${base_bindir}/* \
                 ${datadir}/dbus-1/services \
                 ${datadir}/dbus-1/system-services \
@@ -77,5 +81,5 @@ FILES_${PN} = " ${base_bindir}/* \
 FILES_${PN}-dbg += "${base_libdir}/systemd/.debug ${base_libdir}/systemd/*/.debug"
 
 # util-linux -> hwclock, kbd -> loadkeys,setfont
-RRECOMMENDS_${PN} += "util-linux kbd kbd-consolefonts"
+RRECOMMENDS_${PN} += "util-linux kbd kbd-consolefonts ${PN}-serialgetty"
 





More information about the Openembedded-commits mailing list