diff options
| -rw-r--r-- | meta/recipes-core/systemd/systemd_243.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb index eaa12ed107..b9097593f1 100644 --- a/meta/recipes-core/systemd/systemd_243.bb +++ b/meta/recipes-core/systemd/systemd_243.bb | |||
| @@ -637,7 +637,7 @@ python do_warn_musl() { | |||
| 637 | } | 637 | } |
| 638 | addtask warn_musl before do_configure | 638 | addtask warn_musl before do_configure |
| 639 | 639 | ||
| 640 | ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel resolv-conf" | 640 | ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'resolv-conf', '', d)}" |
| 641 | 641 | ||
| 642 | ALTERNATIVE_TARGET[resolv-conf] = "${sysconfdir}/resolv-conf.systemd" | 642 | ALTERNATIVE_TARGET[resolv-conf] = "${sysconfdir}/resolv-conf.systemd" |
| 643 | ALTERNATIVE_LINK_NAME[resolv-conf] = "${sysconfdir}/resolv.conf" | 643 | ALTERNATIVE_LINK_NAME[resolv-conf] = "${sysconfdir}/resolv.conf" |
