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

Debian bundler prefix installation directory #136

Open
DJViking opened this issue Nov 8, 2018 · 3 comments
Open

Debian bundler prefix installation directory #136

DJViking opened this issue Nov 8, 2018 · 3 comments

Comments

@DJViking
Copy link

DJViking commented Nov 8, 2018

How can we change the prefix directory for the debian bundler?
There are no bundle arguments for it, nor do I find a way to set it in the control file.

Custom src/deploy/packages/linux/control

Package: @projectName@
Version: @applicationVersion@
Release: @applicationRelease@
Section: unknown
Priority: optional
Architecture: amd64
Provides: @projectName@
Depends: xdg-utils
Description: @projectDescription@

With the RPM bundler we can set prefix in the project-name.spec

The command dpkg-deb gets the directory structure

/tmp/fxbundler/images/linux-deb.image/application-1.0.0/opt/application/

Is it the plugin or the javapackager who creates this and copies the files? If it is the latter, I don't think there is much we can do about it.

@FibreFoX
Copy link
Owner

FibreFoX commented Nov 9, 2018

The folder-name /tmp/fxbundler/images/linux-deb.image is hard-coded inside the javapackager/bundler itself, where is not much I'm aware of to change this. But I do not see the actual problem here, what do you need to rename, and why?

@DJViking
Copy link
Author

DJViking commented Nov 9, 2018

The DEB installer puts my application under /opt/application, wheres my RPM puts my application under /opt/company/application. The RPM directory is set through the Prefix in its SPEC file.

The DEB control file has no such parameter for setting the installation directory (could not find one).

Package: @projectName@
Version: @applicationVersion@
Release: @applicationRelease@
Section: unknown
Priority: optional
Architecture: x86_64
Provides: @projectName@
Depends: xdg-utils
Description: @projectDescription@

I have a workaround for now, not using the plugin to package DEB, but the ospackage plugin.

@FibreFoX
Copy link
Owner

FibreFoX commented Nov 9, 2018

I wasn't aware of this different behavior ... sounds interesting :) the "bundler-prefix" is internally something different, that's what confused me on the first thought.

@FibreFoX FibreFoX added this to the project rework milestone Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants