diff options
| -rw-r--r-- | meta/recipes-core/systemd/systemd_229.bb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-core/systemd/systemd_229.bb b/meta/recipes-core/systemd/systemd_229.bb index 309a4c3a08..c23c749e2a 100644 --- a/meta/recipes-core/systemd/systemd_229.bb +++ b/meta/recipes-core/systemd/systemd_229.bb | |||
| @@ -96,6 +96,11 @@ PACKAGECONFIG ??= "xz \ | |||
| 96 | PACKAGECONFIG_remove_libc-musl = "selinux" | 96 | PACKAGECONFIG_remove_libc-musl = "selinux" |
| 97 | PACKAGECONFIG_remove_libc-musl = "smack" | 97 | PACKAGECONFIG_remove_libc-musl = "smack" |
| 98 | 98 | ||
| 99 | # Use the upstream systemd serial-getty@.service and rely on | ||
| 100 | # systemd-getty-generator instead of using the OE-core specific | ||
| 101 | # systemd-serialgetty.bb - not enabled by default. | ||
| 102 | PACKAGECONFIG[serial-getty-generator] = "" | ||
| 103 | |||
| 99 | PACKAGECONFIG[journal-upload] = "--enable-libcurl,--disable-libcurl,curl" | 104 | PACKAGECONFIG[journal-upload] = "--enable-libcurl,--disable-libcurl,curl" |
| 100 | # Sign the journal for anti-tampering | 105 | # Sign the journal for anti-tampering |
| 101 | PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" | 106 | PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" |
| @@ -204,8 +209,10 @@ do_configure_prepend() { | |||
| 204 | do_install() { | 209 | do_install() { |
| 205 | autotools_do_install | 210 | autotools_do_install |
| 206 | install -d ${D}/${base_sbindir} | 211 | install -d ${D}/${base_sbindir} |
| 207 | # Provided by a separate recipe | 212 | if ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 'false', 'true', d)}; then |
| 208 | rm ${D}${systemd_unitdir}/system/serial-getty* -f | 213 | # Provided by a separate recipe |
| 214 | rm ${D}${systemd_unitdir}/system/serial-getty* -f | ||
| 215 | fi | ||
| 209 | 216 | ||
| 210 | # Provide support for initramfs | 217 | # Provide support for initramfs |
| 211 | [ ! -e ${D}/init ] && ln -s ${rootlibexecdir}/systemd/systemd ${D}/init | 218 | [ ! -e ${D}/init ] && ln -s ${rootlibexecdir}/systemd/systemd ${D}/init |
| @@ -455,7 +462,8 @@ FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ $ | |||
| 455 | RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})" | 462 | RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})" |
| 456 | RDEPENDS_${PN} += "volatile-binds update-rc.d" | 463 | RDEPENDS_${PN} += "volatile-binds update-rc.d" |
| 457 | 464 | ||
| 458 | RRECOMMENDS_${PN} += "systemd-serialgetty systemd-vconsole-setup \ | 465 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)} \ |
| 466 | systemd-vconsole-setup \ | ||
| 459 | systemd-extra-utils \ | 467 | systemd-extra-utils \ |
| 460 | systemd-compat-units udev-hwdb \ | 468 | systemd-compat-units udev-hwdb \ |
| 461 | util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \ | 469 | util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \ |
