blob: 847d3248e5a287224e72b057c09a4aa0783c1955 [file] [log] [blame]
Ed Tanous9936f862022-09-19 09:13:20 -07001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Patrick Williams43bac4f2020-05-02 06:31:39 -05002PACKAGECONFIG = "\
Patrick Williamsbf5597f2022-11-17 07:29:11 -06003 cgroupv2 \
Patrick Williams43bac4f2020-05-02 06:31:39 -05004 coredump \
5 hostnamed \
Patrick Williams43bac4f2020-05-02 06:31:39 -05006 networkd \
Anton D. Kachalov23e749b2021-02-04 13:13:57 +01007 nss \
Patrick Williams43bac4f2020-05-02 06:31:39 -05008 pam \
9 randomseed \
10 resolved \
Anton D. Kachalovaff02432021-02-04 13:33:53 +010011 seccomp \
Patrick Williams43bac4f2020-05-02 06:31:39 -050012 sysusers \
Patrick Williams43bac4f2020-05-02 06:31:39 -050013 timedated \
14 timesyncd \
Patrick Williams3aa0aa82021-08-17 15:51:55 -050015 zstd \
Patrick Williams43bac4f2020-05-02 06:31:39 -050016 "
Brad Bishop19323692019-04-05 15:28:33 -040017
Patrick Williamsed104d42021-08-31 13:19:27 -050018EXTRA_OEMESON:append = " -Ddns-servers=''"
Brad Bishop11821852015-10-30 03:02:05 -040019
Ed Tanous9936f862022-09-19 09:13:20 -070020PACKAGES =+ "${PN}-catalog-extralocales"
21
22RRECOMMENDS:${PN}:append:openbmc-phosphor = " phosphor-systemd-policy"
23
24FILES:${PN}-catalog-extralocales = "\
25 ${exec_prefix}/lib/systemd/catalog/*.*.catalog \
26"
27
Patrick Williamsbcd29052022-11-18 12:47:02 -060028# udev is added to the USERADD_PACKAGES due to some 'render' group
29# being necessary to create for /dev/dri handling, which we don't
30# have to worry about. A side-effect of this is udev would RDEPEND on
31# 'shadow' which prevents us from putting it into the initramfs. We
32# have plenty of other stuff that RDEPENDS on 'shadow' so, remove udev
33# from USERADD_PACKAGES to get around that.
34USERADD_PACKAGES:remove = "udev"
35
Brad Bishopc6219fa2018-11-29 08:39:53 -050036ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init"
37ALTERNATIVE_PRIORITY[init] ?= "300"
Brad Bishop0e72d712020-08-12 07:03:47 -040038
Ed Tanous9936f862022-09-19 09:13:20 -070039ALTERNATIVE:${PN} += "init"
40ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd"