Open DJViking opened 5 years ago
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?
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.
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.
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
With the RPM bundler we can set prefix in the project-name.spec
The command dpkg-deb gets the directory structure
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.