On 11/30/22 1:54 AM, Martin Pitt wrote:
Hello Mark,
Mark Reynolds [2022-11-29 13:31 -0500]:
Then I create this directory: ~/.local/share/cockpit/389-console
And create a link to it:
[mareynol@fedora 389-console]$ ln -s $(pwd)/dist
~/.local/share/cockpit/389-console/
This creates a "dist" symlink *inside* the 389-console/ directory, which is a
wrong structure:
[mareynol@fedora 389-console]$ ls -la ~/.local/share/cockpit/389-console/
total 4
drwxr-xr-x. 1 mareynol mareynol 8 Nov 29 13:09 .
drwxr-xr-x. 1 mareynol mareynol 22 Nov 29 13:09 ..
lrwxrwxrwx. 1 mareynol mareynol 68 Nov 29 13:09 dist ->
/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/dist
What you want is ~/.local/share/cockpit/389-console →
/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/dist
I.e. do this instead:
rm -r ~/.local/share/cockpit/389-console/
ln -s $(pwd)/dist ~/.local/share/cockpit/389-console
(essentially, drop the trailing slash. That's what your README [0] says as well.
Hmm my README says to create ~/.local/share/cockpit/389-console This is
where things went wrong. I guess when I set it up on my old system I
did it correctly. I'll fix our README. Thanks for the help Martin!
Mark
Note that starter-kit has a `make devel-install` rule [1] to do that, which
avoids these pitfalls. Your project even has that as well [2], even with the
`rm` robustification.
So TL/DR: Run `make devel-install`.
HTH,
Pitti
[0]
https://github.com/389ds/389-ds-base/blob/main/src/cockpit/389-console/README.md#contributing
[1] https://github.com/cockpit-project/starter-kit/blob/main/Makefile#L102
[2] https://github.com/389ds/389-ds-base/blob/main/Makefile.am#L2094
_______________________________________________
cockpit-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
--
Directory Server Development Team
_______________________________________________
cockpit-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue