Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Rainer Koenig <Rainer.Koenig@ts.fujitsu.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: How do I get rid of systemd
Date: Wed, 18 Jan 2012 15:34:04 +0100	[thread overview]
Message-ID: <4F16D85C.6020606@ts.fujitsu.com> (raw)
In-Reply-To: <F2C23BA4-EF14-44A5-A4B3-B50848CD0844@dominion.thruhere.net>

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@ts.fujitsu.com

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



  reply	other threads:[~2012-01-18 14:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 13:16 How do I get rid of systemd Rainer Koenig
2012-01-18 13:28 ` Koen Kooi
2012-01-18 14:15   ` Rainer Koenig
2012-01-18 14:22     ` Koen Kooi
2012-01-18 13:43 ` Sergey 'Jin' Bostandzhyan
2012-01-18 14:21   ` Koen Kooi
2012-01-18 14:34     ` Rainer Koenig [this message]
2012-01-18 15:13       ` Koen Kooi
2012-01-18 14:34     ` Philip Balister
2012-01-22  3:25       ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F16D85C.6020606@ts.fujitsu.com \
    --to=rainer.koenig@ts.fujitsu.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox