Giter VIP home page Giter VIP logo

Comments (12)

hesmar avatar hesmar commented on August 12, 2024 1

Ok, it also helps to apply the following change in the layers/meta-my-mender/conf/distro/my-mender.conf after using the create-distro-layer script:

REQUIRED_TD_BBLAYERS_CONF_VERSION = "${DISTRO}-7"

from tegra-demo-distro.

dwalkes avatar dwalkes commented on August 12, 2024 1

I've got some hacks in #233 which I think will fix it.

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

Hello @hesmar

Please check you BBLAYERS_CONF_VERSION

from tegra-demo-distro.

dwalkes avatar dwalkes commented on August 12, 2024

Which branch? This sequence worked for me on dunfell.

from tegra-demo-distro.

hesmar avatar hesmar commented on August 12, 2024

I am on kirkstone-l4t-r32.7.x.

@ichergui This is the bblayers.conf:

# Version of layers configuration, specific to
# each defined distro in the repository.
# Format: ${DISTRO}-<version>
TD_BBLAYERS_CONF_VERSION = "my-mender-7"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-tegra \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-tegra/contrib \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-oe \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-python \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-networking \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-filesystems \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-virtualization \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-tegra-community \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-mender-core \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-mender-tegra \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-tegra-support \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-demo-ci \
  /home/hesmar/Development/3dvisionlabs/embedded/yocto2/tegra-demo-distro/layers/meta-my-mender \
  "

from tegra-demo-distro.

dwalkes avatar dwalkes commented on August 12, 2024

I can reproduce.

I think the problem is at

if [ "${MENDER}" = true ]; then
cat ${LAYER_DIR}/conf/distro/tegrademo-mender.conf | tail -n +6 >> ${LAYER_DIR}/conf/distro/${DISTRO_NAME}.conf
fi
which is only appending to the distro.conf file but not updating REQUIRED_TD_BBLAYERS_CONF_VERSION. I'm not sure why it's doing the append as opposed to just copying the tegrademo-mender.conf from conf/distro/tegrademo-mender.conf as the distro default.

When I did that by hand using

cp layers/meta-tegrademo/conf/distro/tegrademo-mender.conf layers/meta-my-mender/conf/distro/my-mender.conf

I got past this error, then hit:

ERROR: ParseError at /home/dan/tegra-demo-distro/layers/meta-tegrademo/conf/distro/tegrademo.conf:34: Could not include required file conf/include/gstreamer-1.14.conf

Not sure where this is coming from - I see this file at

 find . -name "gstreamer-1.14.conf"
./repos/meta-tegra/contrib/conf/include/gstreamer-1.14.conf

and I see the corresponding layer in bblayers.conf

TD_BBLAYERS_CONF_VERSION = "my-mender-7"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/dan/tegra-demo-distro/layers/meta \
  /home/dan/tegra-demo-distro/layers/meta-tegra \
  /home/dan/tegra-demo-distro/layers/meta-tegra/contrib \

I removed the require conf/include/gstreamer-1.14.conf line and started the build, then added it back to attempt to reproduce but could not.

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

That was my suggestion 😉 earlier

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

@dwalkes Any action from our side ? otherwise I will close this issue

from tegra-demo-distro.

madisongh avatar madisongh commented on August 12, 2024

Sounds like the create-distro-layer script needs a fix.

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

Okay
I or @dwalkes will take it

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

Thanks @dwalkes

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

I'm closing this issue since there is a fix already merged.

from tegra-demo-distro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.