# Refrence other layer's packages in my own packagegroup

**URL:** <https://hub.mender.io/t/refrence-other-layers-packages-in-my-own-packagegroup/6561>\
**Category:** General Discussions\
**Tags:** yocto\
**Created:** [February 16, 2024, 12:19pm UTC](https://hub.mender.io/t/refrence-other-layers-packages-in-my-own-packagegroup/6561 "2024-02-16T12:19:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyxlwuff](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pyxlwuff](https://hub.mender.io/u/pyxlwuff)\
**Post date:** [February 16, 2024, 12:19pm UTC](https://hub.mender.io/t/refrence-other-layers-packages-in-my-own-packagegroup/6561/1 "2024-02-16T12:19:09Z")

</div>

Hi there,

I’m in the process of following this [custom image guide](https://hub.mender.io/t/how-to-create-custom-images-using-yocto-project/902) on the forums to build out a custom layer for my Raspberry Pi 4 Yocto Image, and move most if not all of the changes I have been making in `local.conf` into a proper format. This also includes moving all the packages I used to have referenced in `IMAGE_INSTALL:append` into its own packagegroup.

For some reason though, these packages don’t seem to be installing, and I have no idea why. It’s referenced in my image .bb file, and bitbake doesn’t throw any errors. A majority of these packages are from other layers I have referenced in my BBLayers file, but I don’t think packages that are in the standard layers are being parsed from this either. Any ideas?

The packagegroup:

```auto
DESCRIPTION = "Standard Applications"
SUMMARY = "Standard Apps"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

RDEPENDS_${PN} = " \
    psplash \
    dhcpcd \
    networkmanager \
    python3 \
    bash \
    temurin-jdk-17-bin \
    raspi-gpio \
    userland \
    rsyslog \
    sudo \
    nano \
"

```

Image .bb file:

```auto
SUMMARY = "Image"

IMAGE_FEATURES += "splash"

LICENSE = "CLOSED"

inherit core-image

CORE_IMAGE_EXTRA_INSTALL += " standard-apps-packagegroup"

```

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [February 16, 2024, 12:22pm UTC](https://hub.mender.io/t/refrence-other-layers-packages-in-my-own-packagegroup/6561/2 "2024-02-16T12:22:38Z")

</div>

Hi @pyxlwuff,

If you’re on `kirkstone`, then it’s probably just the old syntax biting you. Can you try this?

```auto
RDEPENDS:${PN} =" \
...

```

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![pyxlwuff](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pyxlwuff](https://hub.mender.io/u/pyxlwuff)\
**Post date:** [February 16, 2024, 1:24pm UTC](https://hub.mender.io/t/refrence-other-layers-packages-in-my-own-packagegroup/6561/4 "2024-02-16T13:24:08Z")

</div>

Yep that worked! Thank you! Would it be worth getting the guide updated to reflect that?
