Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nodejs): package-split between nodejs and nodejs-npm #668

Closed

Commits on Mar 23, 2023

  1. fix(nodejs): package-split between nodejs and nodejs-npm

    The nodejs package contains a symbolic link `/usr/bin/corepack` to a
    file from the nodejs-npm package.
    
    ```shell
    build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/packages-split/nodejs/usr/bin$ ls -l
    total 31932
    lrwxrwxrwx 1 jan jan       45 Feb 21 05:08 corepack -> ../lib/node_modules/corepack/dist/corepack.js
    -rwxr-xr-x 2 jan jan 32694304 Feb 21 05:08 node
    
    build/tmp/work/core2-64-poky-linux/nodejs/18.14.2-r0/packages-split/nodejs-npm/usr/lib/node_modules/corepack/dist$ ls -l
    total 2428
    -rwxr-xr-x 2 jan jan  614216 Feb 21 05:08 corepack.js
    ```
    
    Due to the link, the build system detects a dependency from package
    `nodejs` to package `nodejs-npm`.
    Since the `nodejs-npm` package depends on plenty more packages the link
    should be moved to the `nodejs-npm` package.
    Jan Feemers committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    3e09984 View commit details
    Browse the repository at this point in the history