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

package: fix dependency generation #1203

Closed
wants to merge 1 commit into from

Commits on Apr 26, 2024

  1. package: fix dependency generation

    A bug in release/packages/generate-ucl.sh causes package dependencies
    (other than shlib depends) to not be generated correctly, meaning
    packages are missing their dependencies.
    
    generate-ucl.sh creates the UCL file by:
    
    1. copying ${uclsource} (template.ucl) to ${uclfile}
    2. appending dependencies to ${uclfile}
    3. calling generate-ucl.lua on ${uclsource} to create ${uclfile}
    
    This breaks because the dependencies added in step 2 are overwritten in
    step 3.
    
    Fix this by calling generate-ucl.lua with ${uclfile} as both the input
    and output file, so anything we added to ${uclfile} is preserved.
    llfw committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    5648089 View commit details
    Browse the repository at this point in the history