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

Script replacements doesn't work with jdeb packaging #405

Closed
kardapoltsev opened this issue Nov 11, 2014 · 2 comments
Closed

Script replacements doesn't work with jdeb packaging #405

kardapoltsev opened this issue Nov 11, 2014 · 2 comments

Comments

@kardapoltsev
Copy link
Member

I've added a failed tests but I can't figure out whats going wrong.. May be I miss something in configuration? Here is my test https://github.com/kardapoltsev/sbt-native-packager/tree/wip/jdeb-script-replacements/src/sbt-test/debian/jdeb-script-replacements.

$header, $loader_functions are not replaced only $control_functions.

@kardapoltsev
Copy link
Member Author

One more... When I've commented out line

 override lazy val projectSettings = inConfig(Debian)(jdebSettings)

test passed.

@muuki88
Copy link
Contributor

muuki88 commented Nov 11, 2014

This is critical. I think the jdeb plugin is missing the filterAndFixPerms call.
We only need the TemplateWriter call to change the placeholders.

kardapoltsev added a commit to kardapoltsev/sbt-native-packager that referenced this issue Nov 11, 2014
muuki88 added a commit that referenced this issue Nov 11, 2014
FIX #405: Script replacements doesn't work with jdeb packaging
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