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

Packaging deb package with 1.2.0-M9 doesn't generate conffiles file #984

Closed
sshobotov opened this issue May 23, 2017 · 1 comment
Closed

Comments

@sshobotov
Copy link

Expected behaviour

sbt Debian:package-bin generates DEBIAN/conffiles file

Actual behaviour

sbt Debian:package-bin doen't generate DEBIAN/conffiles file

Information

  • sbt-native-packager version 1.2.0-M9
  • sbt version 0.13.15
  • build system MacOS
  • building deb package
  • Debian 'dpkg' package management program version 1.18.23 (darwin-amd64)
  • target system Ubuntu 14.04

Hint

If you call via task debianConffilesFile.value directly file will be generated. It seems we should put same call for debianConffilesFile as

.

@muuki88
Copy link
Contributor

muuki88 commented May 24, 2017

Thanks @sshobotov for your bug report. I think this got lost during the refactoring to the stage task.

Ideally we would refactor the stage task like this

stage := {
  // ... implementation
},
stage := (stage dependsOn debianConffiles).value,
stage := (stage dependsOn debianChangelog).value,
stage := (stage dependsOn debianConffilesFile).value

Would you like to make a pull request for this? A regression test would also be nice for this :)

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