[oe-commits] Otavio Salvador : systemd: add systemd-initramfs
git at git.openembedded.org
git at git.openembedded.org
Fri Oct 21 14:20:05 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: ca82bc073d164fd49f3b3b830545e879096abc5c
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ca82bc073d164fd49f3b3b830545e879096abc5c
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Fri Oct 21 13:55:52 2011 +0000
systemd: add systemd-initramfs
Includes a /init that points to ${base_sbin}/init that is called so to
avoid having to include post rootfs commands for it.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-core/systemd/systemd_git.bb | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index 8faedd0..f9e024b 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -14,7 +14,7 @@ inherit gitpkgv
PKGV = "v${GITPKGVTAG}"
PV = "git"
-PR = "r0"
+PR = "r1"
inherit pkgconfig autotools vala perlnative
@@ -52,9 +52,15 @@ do_install() {
autotools_do_install
# provided by a seperate recipe
rm ${D}${base_libdir}/systemd/system/serial-getty* -f
+
+ # provide support for initramfs
+ ln -s ${base_sbindir}/init ${D}/systemd
}
-PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup"
+PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs"
+
+FILES_${PN}-initramfs = "/init"
+RDEPENDS_${PN}-initramfs = "${PN}"
FILES_${PN}-gui = "${bindir}/systemadm"
More information about the Openembedded-commits
mailing list