-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
.deb packaging issues #327
Comments
We use https://github.com/jordansissel/fpm. Do you use latest 1.5? |
Not quite understand why description is not correct. |
Yes, I've just installed it for this.
Description: https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description
Some distros (ubuntu?) don't show description if it's just synopsis (see this comment). |
Please file issues to https://github.com/jordansissel/fpm/issues (and mention this ticket, so, I can subscribe). If you will not get answers/solution in a 2 days, it will be fixed on our side. Maybe we will stop to use fpm and will use other solution. |
@antelle Maybe I will reuse code from your package. Because in this case most of our users will not need to install ruby&gems. |
@antelle Got about description. fpm cannot fix it due to backward compatibility, I guess. I will fix it on our side if Mint/Ubuntu will show correctly new format of description. |
According to fpm wiki, we can specify vendor:
Permissions:
So I think this could be fixed without making changes to fpm.
I would expect from electron-builder to build RPM's as well. So I'd stick with fpm because it's capable to build them, maybe you will consider adding an RPM option in future as well. |
@antelle Description in progress, permissions — to investigate (as you see, deb-user/deb-group defaults to root already). Ability to pass any flag to fpm will be added as well. |
I think the problem with permissions is with 'deb-use-file-permissions', so it could be getting permissions from OS which is incorrect on mac.
👍 |
On install no permissions issues:
|
Description. You are right — thanks. Mint & Ubuntu render it a bit different but in both cases better than before. Option |
@antelle You can pass most of the fpm flags using
|
Produced .deb-files have some issues:
1: permissions (I get 0 instead of root/root in permissions):
I'm building on Mac, this may be an issue. Currently I'm using patched grunt-contrib-deb for this, and it can create debs with correct permissinos on each platform. You may create something like this...
2: control file
Correct description:
The text was updated successfully, but these errors were encountered: