[OE-core] How do I get rid of systemd

Rainer Koenig Rainer.Koenig at ts.fujitsu.com
Wed Jan 18 14:34:04 UTC 2012


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?

-- 
Dipl.-Inf. (FH) Rainer Koenig
Project Manager Linux Clients
Dept. PDG WPS R&D SW OSE

Fujitsu Technology Solutions
Bürgermeister-Ullrich-Str. 100
86199 Augsburg
Germany

Telephone: +49-821-804-3321
Telefax:   +49-821-804-2131
Mail:      mailto:Rainer.Koenig at ts.fujitsu.com

Internet         ts.fujtsu.com
Company Details  ts.fujitsu.com/imprint.html




More information about the Openembedded-core mailing list