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

Melange should create the subpkgdirs #1800

Open
justinvreeland opened this issue Feb 20, 2025 · 0 comments
Open

Melange should create the subpkgdirs #1800

justinvreeland opened this issue Feb 20, 2025 · 0 comments

Comments

@justinvreeland
Copy link
Contributor

As I've been working on usr-merge I've noticed many packages that assume the subpkgdir exists, I did too. In some cases this results in packages that were created in a way would have been usr-merged but because the subpkgdir isn't already created un-usrmerges the package. Below is an example of where the removed line intended to move the usr/ directory into the ${{targets.subpkgdir}} but instead the usr directory becomes the top-level subpkgdir.

   - name: ntfs-3g-progs
     pipeline:
       - runs: |
-          mv ${{targets.destdir}}/usr ${{targets.destdir}}/lib ${{targets.subpkgdir}}/
+          mkdir -p ${{targets.subpkgdir}}
+          mv ${{targets.destdir}}/usr ${{targets.subpkgdir}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant