diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-10-21 13:55:52 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-21 16:13:47 +0200 |
commit | ca82bc073d164fd49f3b3b830545e879096abc5c (patch) | |
tree | a32df8e5f68c1d5b7c7cc1c1484f08fe13e8cb04 /meta-oe/recipes-core | |
parent | 8fee9e2af657f1233ceda5f0fd8dab76554d03be (diff) | |
download | meta-openembedded-ca82bc073d164fd49f3b3b830545e879096abc5c.tar.gz |
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@ossystems.com.br>
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_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 8faedd03f..f9e024bd1 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 | |||
14 | PKGV = "v${GITPKGVTAG}" | 14 | PKGV = "v${GITPKGVTAG}" |
15 | 15 | ||
16 | PV = "git" | 16 | PV = "git" |
17 | PR = "r0" | 17 | PR = "r1" |
18 | 18 | ||
19 | inherit pkgconfig autotools vala perlnative | 19 | inherit pkgconfig autotools vala perlnative |
20 | 20 | ||
@@ -52,9 +52,15 @@ do_install() { | |||
52 | autotools_do_install | 52 | autotools_do_install |
53 | # provided by a seperate recipe | 53 | # provided by a seperate recipe |
54 | rm ${D}${base_libdir}/systemd/system/serial-getty* -f | 54 | rm ${D}${base_libdir}/systemd/system/serial-getty* -f |
55 | |||
56 | # provide support for initramfs | ||
57 | ln -s ${base_sbindir}/init ${D}/systemd | ||
55 | } | 58 | } |
56 | 59 | ||
57 | PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup" | 60 | PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs" |
61 | |||
62 | FILES_${PN}-initramfs = "/init" | ||
63 | RDEPENDS_${PN}-initramfs = "${PN}" | ||
58 | 64 | ||
59 | FILES_${PN}-gui = "${bindir}/systemadm" | 65 | FILES_${PN}-gui = "${bindir}/systemadm" |
60 | 66 | ||