Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 2 | PACKAGECONFIG = "\ |
Patrick Williams | bf5597f | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 3 | cgroupv2 \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 4 | coredump \ |
| 5 | hostnamed \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 6 | networkd \ |
Anton D. Kachalov | 23e749b | 2021-02-04 13:13:57 +0100 | [diff] [blame] | 7 | nss \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 8 | pam \ |
Patrick Williams | 0434ea6 | 2023-02-15 06:27:30 -0600 | [diff] [blame] | 9 | pstore \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 10 | randomseed \ |
| 11 | resolved \ |
Anton D. Kachalov | aff0243 | 2021-02-04 13:33:53 +0100 | [diff] [blame] | 12 | seccomp \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 13 | sysusers \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 14 | timedated \ |
| 15 | timesyncd \ |
Patrick Williams | 3aa0aa8 | 2021-08-17 15:51:55 -0500 | [diff] [blame] | 16 | zstd \ |
Patrick Williams | 43bac4f | 2020-05-02 06:31:39 -0500 | [diff] [blame] | 17 | " |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 18 | |
Patrick Williams | ed104d4 | 2021-08-31 13:19:27 -0500 | [diff] [blame] | 19 | EXTRA_OEMESON:append = " -Ddns-servers=''" |
Brad Bishop | 1182185 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 20 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 21 | PACKAGES =+ "${PN}-catalog-extralocales" |
| 22 | |
| 23 | RRECOMMENDS:${PN}:append:openbmc-phosphor = " phosphor-systemd-policy" |
| 24 | |
| 25 | FILES:${PN}-catalog-extralocales = "\ |
| 26 | ${exec_prefix}/lib/systemd/catalog/*.*.catalog \ |
| 27 | " |
| 28 | |
BonnieLo-wiwynn | 1a910ed | 2023-02-06 13:43:45 +0800 | [diff] [blame] | 29 | SRC_URI:append = " \ |
| 30 | file://40-hardware-watchdog.conf \ |
| 31 | " |
| 32 | |
| 33 | FILES:${PN}:append = " \ |
| 34 | ${systemd_unitdir}/system.conf.d/40-hardware-watchdog.conf \ |
| 35 | " |
| 36 | |
| 37 | do_install:append() { |
| 38 | install -d -m 0755 ${D}${systemd_unitdir}/system.conf.d/ |
| 39 | install -m 0644 ${WORKDIR}/40-hardware-watchdog.conf ${D}${systemd_unitdir}/system.conf.d/ |
| 40 | } |
| 41 | |
Patrick Williams | bcd2905 | 2022-11-18 12:47:02 -0600 | [diff] [blame] | 42 | # udev is added to the USERADD_PACKAGES due to some 'render' group |
| 43 | # being necessary to create for /dev/dri handling, which we don't |
| 44 | # have to worry about. A side-effect of this is udev would RDEPEND on |
| 45 | # 'shadow' which prevents us from putting it into the initramfs. We |
| 46 | # have plenty of other stuff that RDEPENDS on 'shadow' so, remove udev |
| 47 | # from USERADD_PACKAGES to get around that. |
| 48 | USERADD_PACKAGES:remove = "udev" |
| 49 | |
Brad Bishop | c6219fa | 2018-11-29 08:39:53 -0500 | [diff] [blame] | 50 | ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init" |
| 51 | ALTERNATIVE_PRIORITY[init] ?= "300" |
Brad Bishop | 0e72d71 | 2020-08-12 07:03:47 -0400 | [diff] [blame] | 52 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 53 | ALTERNATIVE:${PN} += "init" |
| 54 | ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd" |