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

architecture is set to -unspecified #6

Open
kayser opened this issue Jun 13, 2014 · 5 comments
Open

architecture is set to -unspecified #6

kayser opened this issue Jun 13, 2014 · 5 comments
Assignees

Comments

@kayser
Copy link

kayser commented Jun 13, 2014

Great to see jdeb as a gradle plugin!
generally it works like a charm, except that the 'Architecture: all' in my control file is ignored as it seems. result is deb name with -unsepcified suffix.

Does anybody know why? How do I set Architecture?

@gesellix gesellix self-assigned this May 29, 2015
@gesellix
Copy link
Owner

gesellix commented Aug 9, 2015

Hi @kayser - I stumbled over the issue at tcurdt/jdeb#180 which might be the reason for ignoring the control file entry. Can you verify that?

@gesellix
Copy link
Owner

gesellix commented Aug 9, 2015

@kayser the new gradle-debian-plugin release will bring an update to JDeb 1.4, in case that helps. I sadly don't have a working setup to manually test the plugin (Docker has replaced my Debian package manager).

@gesellix
Copy link
Owner

gesellix commented Aug 9, 2015

@kayser the updated release is available as "de.gesellix:gradle-debian-plugin:15", please give it a try and leave some feedback here. Thanks!

@kayser
Copy link
Author

kayser commented Aug 12, 2015

Hi @gesellix - thx for the note but I am afraid it does not help. Updated to version 15 but there was no change. Currently we help ourselves by using this workarround:

task renameDeb(type: Copy) {
    from ('build/') { include '*.deb' }
    into 'build/deb'
    rename { String fileName ->
        fileName.replace("-unspecified", "_all")
    }
}

@gesellix
Copy link
Owner

@kayser can you post a snippet of your debian plugin config? Did you configure the outputFile property?

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

2 participants