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

<pkg-name> usage is inconsistent #13

Open
vt-alt opened this issue Jun 20, 2024 · 0 comments
Open

<pkg-name> usage is inconsistent #13

vt-alt opened this issue Jun 20, 2024 · 0 comments

Comments

@vt-alt
Copy link

vt-alt commented Jun 20, 2024

An additional placeholder used when configuring the directories is ; this will automatically be replaced by the package name used inside install.yml. Some directories (e.g. docdir use this placeholder by default). Manually set the directories to remove it.

Why not to define docdir: @datarootdir@/doc explicitly with <pkg-name> and remove magic of 'manual set'?

Also, Manually set the directories to remove it this does not work and package name is still appended.

For example, by default we install %doc into %_docdir/%name-%version so I try to redefine it for rinstall itself:

+ target/release/rinstall install --packaging --destdir=/usr/src/tmp/rinstall-buildroot --prefix=/usr --docdir=/usr/share/doc/rinstall-0.2.0 --yes
...
Installing README.md -> /usr/src/tmp/rinstall-buildroot/usr/share/doc/rinstall-0.2.0/rinstall/README.md
Installing CHANGELOG.md -> /usr/src/tmp/rinstall-buildroot/usr/share/doc/rinstall-0.2.0/rinstall/CHANGELOG.md

This is incorrect location. Can this be changed to not appending the <pkg-name> if docdir is manually set?

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