# Get YOCTO version of balenaOS image

**URL:** <https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075>\
**Category:** General\
**Created:** [November 18, 2020, 11:34am UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075 "2020-11-18T11:34:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![scarlyon](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@scarlyon](https://forums.balena.io/u/scarlyon)\
**Post date:** [November 18, 2020, 11:34am UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075/1 "2020-11-18T11:34:30Z")

</div>

Hi, Balena team.

Do you have a list of yocto versions that are used to build the balenaOS images?

For example, I have noticed that `suface-go 2.54.2+rev1` image uses `yocto 5.2.10`.  
But `up-board 2.54.2+rev1` image uses `yocto 4.14.76`?

The full list of the yocto version for each balenaOS image would be really helpful.

Cheers,  
Shane.

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [November 18, 2020, 11:52am UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075/4 "2020-11-18T11:52:06Z")

</div>

Hey Shane, thats an interesting question. What exactly do you need that info for and how would you make use of it if available? I think currently there isn’t an easy way to get this, however, the yocto version names are listed on each device type in [https://balena-io.github.io/balenaosversions/](https://balena-io.github.io/balenaosversions/) . My colleague also put together a toy project here: [https://balena-io-playground.github.io/balenaos-manifest/](https://balena-io-playground.github.io/balenaos-manifest/) which allows one to browse all the packages and their versions included in each OS version for a device type, which is why I asked about what you want to use the yocto version for, since I assume you are trying to figure out exact versions of specific components?

---

<div class="post-metadata">

**Author:** ![scarlyon](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@scarlyon](https://forums.balena.io/u/scarlyon)\
**Post date:** [November 18, 2020, 11:56am UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075/6 "2020-11-18T11:56:27Z")

</div>

Hi, @shaunmulligan  
Thanks for your quick reply!

Yeah, I want the exact YOCTO version to install the nvidia driver manually.  
Please check the Dockerfile in this thread: [Enable GPU on Container](https://forums.balena.io/t/enable-gpu-on-container/194366)

It needs the exact yocto version!

Cheers,  
Shane.

---

<div class="post-metadata">

**Author:** ![robertgzr](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/robertgzr/32/1387_2.png) [@robertgzr](https://forums.balena.io/u/robertgzr)\
**Post date:** [November 18, 2020, 12:45pm UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075/8 "2020-11-18T12:45:51Z")

</div>

since you want to select based on kernel version, why not have a script that does something like this:

```auto
case "$(uname -r)" in
5.2.10*) echo "5.x" ;;
4.14.76*) echo "4.x" ;;
*) echo "EINVAL" ;; 
esac

```

---

<div class="post-metadata">

**Author:** ![scarlyon](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@scarlyon](https://forums.balena.io/u/scarlyon)\
**Post date:** [November 18, 2020, 8:35pm UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075/10 "2020-11-18T20:35:12Z")

</div>

Aha, yes.

I can use that. Thanks for your tip! 👍

---

<div class="post-metadata">

**Author:** ![mpilone](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@mpilone](https://forums.balena.io/u/mpilone)\
**Post date:** [November 17, 2025, 7:00pm UTC](https://forums.balena.io/t/get-yocto-version-of-balenaos-image/213075/12 "2025-11-17T19:00:52Z")

</div>

I know this is an old thread, but I’m wondering if anything has changed/improved with this.

The specific scenario I’m running into is that our IT team scanned a device with Nexpose and it reported a critical vulnerability with OpenSSH 8.9p1 (CVE-2024-6387). I can see in the Yocto [build recipe](https://git.yoctoproject.org/poky/tree/meta/recipes-connectivity/openssh/openssh_8.9p1.bb?h=kirkstone&d_id=901b5922-ad24-4310-b545-ae94bad16479&s_id=1763403734068) that it is patching for this specific vulnerability, but I don’t have an easy way to draw a line from the BalenaOS on the device to that Yocto patch that will make my security team happy.

Even logging into the device and getting the OpenSSH version doesn’t show specific patches, so it’s not clear what has or hasn’t been patched in the Yocto build:

```auto
root@d04c3xx:~# sshd --help
unknown option -- -
OpenSSH_8.9p1, OpenSSL 3.0.16 11 Feb 2025

```

Somewhat related, but not as important, is that Nexpose identifies BalenaOS as “MikroTik MIKROTIK ROUTEROS 7.2 - 7.5 (LINUX 5.6.3) 7.2.” I’m guessing it is just doing some fingerprinting based on ports open or matching Yocto package numbers.

Thanks,

-mike
