diff options
-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 8faedd03fe..f9e024bd1d 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 | ||