[OE-core] How do I get rid of systemd
Koen Kooi
koen at dominion.thruhere.net
Wed Jan 18 15:13:14 UTC 2012
Op 18 jan. 2012, om 15:34 heeft Rainer Koenig het volgende geschreven:
> Am 18.01.2012 15:21, schrieb Koen Kooi:
>
>> It's really easy, create your own image, no patching needed.
>> The systemd dependencies are all in ${PN}-systemd, so just
>> don't include those in your image. I you do include ${PN}-systemd
>> in your image you shouldn't be surprised that systemd ends up in it.
>
> Ok. Got 2 files for my image:
>
> ---------------------8<-snip---------------------
> $ cat magna-base-image.bb
>
> LICENSE = "MIT"
> LIC_FILES_CHKSUM =
> "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
>
> IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp"
>
> IMAGE_INSTALL += " \
> angstrom-task-boot \
> task-basic \
> ${CONMANPKGS} \
> "
> CONMANPKGS = "connman connman-plugin-loopback connman-plugin-ethernet"
> CONMANPKGS_libc-uclibc = ""
>
> IMAGE_DEV_MANAGER = "udev"
> IMAGE_INIT_MANAGER = " "
> IMAGE_INITSCRIPTS = " "
> IMAGE_LOGIN_MANAGER = "tinylogin shadow"
>
> export IMAGE_BASENAME = "magna-base-image"
>
> inherit image
>
> $ cat magna-c-image.bb
>
> #Angstrom bootstrap image
> require magna-base-image.bb
>
> DEPENDS += "task-base-extended \
> "
>
> IMAGE_INSTALL += "task-base-extended \
> "
>
> export IMAGE_BASENAME = "magna-c-image"
> ---------------------8<-snip---------------------
>
> Pretty much the same what Angstrom does, just changed the
> IMAGE_INIT_MANAGER.
>
> So where did I include ${PN}-systemd?
task-basic
More information about the Openembedded-core
mailing list