Subject: Add systemd to poky-tiny distro To: poky@lists.yoctoproject.org From: "Jacob Avraham" X-Originating-Location: Ramat Gan, Tel Aviv, IL (62.90.32.217) X-Originating-Platform: Windows Chrome 94 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 13 Oct 2021 03:19:04 -0700 Message-ID: Content-Type: multipart/alternative; boundary="QIUxQlwWgqptPvZZtQpW" --QIUxQlwWgqptPvZZtQpW Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Can systemd be used as the init manager for poky-tiny distro? I tried to use this poky-tiny derived distro: #@NAME: poky-tiny-atlk #@DESCRIPTION: Based on poky tiny distribution. Limited supported of packag= es from poky distro. require conf/distro/poky-tiny.conf DISTRO =3D "poky-tiny-atlk" TCLIBC =3D "glibc" PREFERRED_PROVIDER_virtual/kernel =3D "linux-sta12xx" DISTRO_FEATURES_append =3D " systemd " DISTRO_FEATURES_remove =3D " wayland " DISTRO_FEATURES_BACKFILL_CONSIDERED +=3D "sysvinit" BUILDCFG_VARS +=3D "GCCVERSION" BUILDCFG_VARS +=3D "PREFERRED_PROVIDER_virtual/kernel" VIRTUAL-RUNTIME_init_manager =3D "systemd" VIRTUAL-RUNTIME_initscripts =3D "systemd-compat-units" DISTRO_FEATURES_LIBC =3D "ipv6 libc-backtrace libc-big-macros libc-bsd libc= -cxx-tests libc-catgets libc-charsets libc-crypt \ libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab l= ibc-ftraverse \ libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-= locale-code \ libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn l= ibc-streams libc-sunrpc \ libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp = libc-posix-regexp-glibc \ libc-posix-wchar-io" But I don't see systemd files added to the image. When I add systemd package to my image's=C2=A0PACKAGE_INSTALL variable, I g= et the following error: ERROR: glibc-locale-2.28-r0 do_package: QA Issue: glibc-locale: Files/direc= tories were installed but not shipped in any package: What am I doing wrong? Thanks, Jacob --QIUxQlwWgqptPvZZtQpW Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Can systemd be used as the init manager for poky-tiny distro?
I tried = to use this poky-tiny derived distro:

#@NAME: poky-tiny-atlk
#@DESCRIPTION: Based on poky tiny distribution. Limited supported of p= ackages from poky distro.
 
require conf/distro/poky-tiny.conf

DISTRO =3D "poky-tiny-atlk"
TCLIBC =3D "glibc"
PREFERRED_PROVIDER_virtual/kernel =3D "linux-sta12xx"
DISTRO_FEATURES_append =3D " systemd "
DISTRO_FEATURES_remove =3D " wayland "
DISTRO_FEATURES_BACKFILL_CONSIDERED +=3D "sysvinit"
 
BUILDCFG_VARS +=3D "GCCVERSION"
BUILDCFG_VARS +=3D "PREFERRED_PROVIDER_virtual/kernel"
 
VIRTUAL-RUNTIME_init_manager =3D "systemd"
VIRTUAL-RUNTIME_initscripts =3D "systemd-compat-units"
 
DISTRO_FEATURES_LIBC =3D "ipv6 libc-backtrace libc-big-macros libc-bsd= libc-cxx-tests libc-catgets libc-charsets libc-crypt \
               libc-crypt-ufc = libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \=
               libc-getlogin l= ibc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \
               libc-memusage l= ibc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams lib= c-sunrpc \
               libc-utmp libc-= utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-rege= xp-glibc \
               libc-posix-wcha= r-io"

But I don't see systemd files added to the image.
When I ad= d systemd package to my image's PACKAGE_INSTALL variable, I get the fo= llowing error:
ERROR: glibc-locale-2.28-r0 do_package: QA Issue: glibc-locale: Files/= directories were installed but not shipped in any package:
<a list of missing locales>

What am I doing wrong?Thanks,
Jacob
--QIUxQlwWgqptPvZZtQpW--