blob: bfe318a4be6227dc71f80ccbbdca9f180088c531 [file] [log] [blame]
Ed Tanous9936f862022-09-19 09:13:20 -07001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Patrick Williams43bac4f2020-05-02 06:31:39 -05002PACKAGECONFIG = "\
3 coredump \
4 hostnamed \
Patrick Williams43bac4f2020-05-02 06:31:39 -05005 networkd \
Anton D. Kachalov23e749b2021-02-04 13:13:57 +01006 nss \
Patrick Williams43bac4f2020-05-02 06:31:39 -05007 pam \
8 randomseed \
9 resolved \
Anton D. Kachalovaff02432021-02-04 13:33:53 +010010 seccomp \
Patrick Williams43bac4f2020-05-02 06:31:39 -050011 sysusers \
Patrick Williams43bac4f2020-05-02 06:31:39 -050012 timedated \
13 timesyncd \
Patrick Williams3aa0aa82021-08-17 15:51:55 -050014 zstd \
Patrick Williams43bac4f2020-05-02 06:31:39 -050015 "
Brad Bishop19323692019-04-05 15:28:33 -040016
Patrick Williamsed104d42021-08-31 13:19:27 -050017EXTRA_OEMESON:append = " -Ddns-servers=''"
Brad Bishop11821852015-10-30 03:02:05 -040018
Ed Tanous9936f862022-09-19 09:13:20 -070019PACKAGES =+ "${PN}-catalog-extralocales"
20
21RRECOMMENDS:${PN}:append:openbmc-phosphor = " phosphor-systemd-policy"
22
23FILES:${PN}-catalog-extralocales = "\
24 ${exec_prefix}/lib/systemd/catalog/*.*.catalog \
25"
26
Patrick Williamsbcd29052022-11-18 12:47:02 -060027# udev is added to the USERADD_PACKAGES due to some 'render' group
28# being necessary to create for /dev/dri handling, which we don't
29# have to worry about. A side-effect of this is udev would RDEPEND on
30# 'shadow' which prevents us from putting it into the initramfs. We
31# have plenty of other stuff that RDEPENDS on 'shadow' so, remove udev
32# from USERADD_PACKAGES to get around that.
33USERADD_PACKAGES:remove = "udev"
34
Brad Bishopc6219fa2018-11-29 08:39:53 -050035ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init"
36ALTERNATIVE_PRIORITY[init] ?= "300"
Brad Bishop0e72d712020-08-12 07:03:47 -040037
Ed Tanous9936f862022-09-19 09:13:20 -070038ALTERNATIVE:${PN} += "init"
39ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd"