# Kirkstone branches?

**URL:** <https://hub.mender.io/t/kirkstone-branches/4764>\
**Category:** General Discussions\
**Tags:** kirkstone\
**Created:** [March 18, 2022, 7:17pm UTC](https://hub.mender.io/t/kirkstone-branches/4764 "2022-03-18T19:17:58Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [July 18, 2022, 8:47am UTC](https://hub.mender.io/t/kirkstone-branches/4764/22 "2022-07-18T08:47:11Z")

</div>

I’m not sure I follow. Are you enabling systemd-boot? Because if you do, this is not going to work without a patch refresh, so I believe there is no benefit to removing the error. If we do, then it will compile, but the bootloader integration will not work and you’ll have problems later instead.

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [July 18, 2022, 9:24am UTC](https://hub.mender.io/t/kirkstone-branches/4764/23 "2022-07-18T09:24:38Z")

</div>

I don’t enable explicitly any systemd-boot in my system. It seems wic-tools have dependency on systemd-boot and this can be things which pulls it in. I fixed above error in bbappend with following content:

```auto
SRC_URI:remove = "file://systemd-boot-slotconfig.patch"

```

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [July 18, 2022, 11:07am UTC](https://hub.mender.io/t/kirkstone-branches/4764/24 "2022-07-18T11:07:23Z")

</div>

But doesn’t [the `mender-systemd-boot` override](https://github.com/mendersoftware/meta-mender/blob/master-next/meta-mender-core/recipes-core/systemd/systemd-boot_%25.bbappend#L3) protect you? Are you sure it’s not turned on?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [July 18, 2022, 12:37pm UTC](https://hub.mender.io/t/kirkstone-branches/4764/25 "2022-07-18T12:37:35Z")

</div>

It’s not turned on at least in my config looks like:

```auto
MENDER_FEATURES_ENABLE:append = " mender-uboot mender-image mender-image-sd mender-systemd mender-client-install"
MENDER_FEATURES_DISABLE:append = " mender-grub mender-image-uefi"

```

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [July 18, 2022, 12:51pm UTC](https://hub.mender.io/t/kirkstone-branches/4764/26 "2022-07-18T12:51:54Z")

</div>

That’s quite mysterious. Can you use `bitbake -e` to check the contents of the variables `MENDER_FEATURES` and `DISTROOVERRIDES`, and how they get populated?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [July 18, 2022, 7:24pm UTC](https://hub.mender.io/t/kirkstone-branches/4764/27 "2022-07-18T19:24:50Z")

</div>

Variables:

```auto
MENDER_FEATURES="mender-uboot mender-image mender-image-sd mender-systemd mender-client-install"
DISTROOVERRIDES="poky:mender-uboot:mender-image:mender-image-sd:mender-systemd:mender-client-install"

```

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [July 19, 2022, 11:37am UTC](https://hub.mender.io/t/kirkstone-branches/4764/28 "2022-07-19T11:37:40Z")

</div>

Ok, even more mysterious. How is the patch making it into `SRC_URI` then?

If you run `bitbake -e systemd-boot` and capture the output, can you post the `SRC_URI=` part? Please also post the preceding part so we can see how it gets assigned.

Although I don’t think it’s related, you could try this change as well:

```diff
-SRC_URI:mender-systemd-boot += "file://systemd-boot-slotconfig.patch"
+SRC_URI:append:mender-systemd-boot = " file://systemd-boot-slotconfig.patch"

```

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [September 13, 2022, 11:17am UTC](https://hub.mender.io/t/kirkstone-branches/4764/29 "2022-09-13T11:17:27Z")

</div>

Kirkstone support for meta-mender was released yesterday. See [this post](https://hub.mender.io/t/meta-mender-kirkstone-branch-released/5249).

[Previous page](https://hub.mender.io/t/kirkstone-branches/4764.md?page=1)
