mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
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>
This commit is contained in:
committed by
Koen Kooi
parent
8fee9e2af6
commit
ca82bc073d
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user