Skip to contentSkip to conversation

systemd and update-rc.d

DISCUSSION Norbert Belfin 1 participant 2 messages Feb 9, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

I "activated" systemd as described in the development manual
<http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#selecting-an-initialization-manager>
.
My distro.conf (excerpt):

    /DISTRO_FEATURES = "systemd php ${DISTRO_FEATURES_DEFAULT}
    ${DISTRO_FEATURES_LIBC} $mtd-utils"/
    /DISTRO_FEATURES_remove = "x11"/
    /DISTRO_FEATURES_BACKFILL_CONSIDERED += " pulseaudio sysvinit "/

    /VIRTUAL-RUNTIME_init_manager = "systemd"/
    /VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
    /

When I build my distribution the following error appears while do_rootfs:

/Collected errors:/
/ * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-boot:/
/ * update-rc.d * /

I checked which packages add update-rc.d, and systemd is one of them. How can I resolve this issue?

Thanks for your help.
<http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#selecting-an-initialization-manager>

begin:vcard
fn:Norbert Belfin
n:Belfin;Norbert
org:RadioData GmbH;Entwicklung
email;internet:[email protected]
version:2.1
end:vcard

#1 lore raw

Okay, solved it. It turned out that systemd was not in the image package. This separation between distro.conf and image.conf is little error-prone to me.
But now it works.
Greetings

Am 09.02.2016 um 09:03 schrieb Norbert Belfin:

Quoted 32 lines

Hello,

I "activated" systemd as described in the development manual
<http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#selecting-an-initialization-manager>
.
My distro.conf (excerpt):

    /DISTRO_FEATURES = "systemd php ${DISTRO_FEATURES_DEFAULT}
    ${DISTRO_FEATURES_LIBC} $mtd-utils"/
    /DISTRO_FEATURES_remove = "x11"/
    /DISTRO_FEATURES_BACKFILL_CONSIDERED += " pulseaudio sysvinit "/

    /VIRTUAL-RUNTIME_init_manager = "systemd"/
    /VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
    /

When I build my distribution the following error appears while do_rootfs:

/Collected errors:/
/ * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-boot:/
/ * update-rc.d * /

I checked which packages add update-rc.d, and systemd is one of them. How can I resolve this issue?

Thanks for your help.

Signature · 17 lines
---------------------------------------------------------------------
RADIODATA GmbH
Ringbahnstraße 32-34
12099 Berlin

Telefon Zentrale:      +49 (0)30 756 81 -3
Fax:                   +49 (0)30 756 81 -599
e- Mail:               [email protected]
Homepage:              www.radiodata.biz

USt_IdNr.:             DE 195663499
WEEE-Reg.-Nr.:         DE 63967380


Sitz der Gesellschaft: Berlin
Registergericht:       Amtsgericht Charlottenburg HRB  Nr.: 67865
Geschäftsführer:       Hans- Joachim Langermann

begin:vcard
fn:Norbert Belfin
n:Belfin;Norbert
org:RadioData GmbH;Entwicklung
email;internet:[email protected]
version:2.1
end:vcard