diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd_242.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd_242.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index b368ca8a2c..cfa9c079ab 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.bb | |||
@@ -619,6 +619,12 @@ python __anonymous() { | |||
619 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") | 619 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") |
620 | } | 620 | } |
621 | 621 | ||
622 | python do_warn_musl() { | ||
623 | if d.getVar('TCLIBC') == "musl": | ||
624 | bb.warn("Using systemd with musl is not recommended since it is not supported upstream and some patches are known to be problematic.") | ||
625 | } | ||
626 | addtask warn_musl before do_configure | ||
627 | |||
622 | ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel resolv-conf" | 628 | ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel resolv-conf" |
623 | 629 | ||
624 | ALTERNATIVE_TARGET[resolv-conf] = "${sysconfdir}/resolv-conf.systemd" | 630 | ALTERNATIVE_TARGET[resolv-conf] = "${sysconfdir}/resolv-conf.systemd" |