Skip to content

Attempting to install custom node package, but files are not being copied into the build #88

@RobGries

Description

@RobGries

Hello,

I'm attempting to use this meta-layer and it's class to install a custom nodejs package, but I cannot get my files to copy from my ${WORKDIR} to my build.

This is the bitbake recipe that I'm working with:

SUMMARY = "nodeJsServer"
SECTION = "meta-custom"
AUTHOR = "Company"

LICENSE = "CLOSED" 

SRC_URI = "<private_repo_URI>"
SRC_URI[md5sum] = "???"
SRC_URI[sha256sum] = "???"

S = "${WORKDIR}/git"

inherit npm-install-global

I browsed to my workdir and it appears that the sources are being populated into the git/ directory there but I'm not seeing them show up in the global package dir on my build (/usr/lib/node_modules/nodeJsServer). Instead I get a broken symlink to a non-existent directory called /git on the root of the image.

Am I missing a directive to copy the node files into my build root or something?

Thanks,
Rob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions