Expected:
conffile will have a path to config with absolute path:
/usr/share/[package]/data/conf/[file]
In fact:
conffile has a path without leading slash:
usr/share/[package]/data/conf/[file]
This is occurring when using sbt-native-packager=1.9.4 and jdeb=1.9 (org.vafer) with sbt=1.5.5
From my investigations the absolute paths in conffiles are required (i.e. lintian tool for checking deb packages considers it to be an error if relative paths are in conffile).
What is interesting, I tried other versions of jdeb with the latest version of sbt-native-packager (1.9.4) and got the following results:
jdeb=1.3 - conffile has absolute path
jdeb=1.4 - conffile has relative path (no leading /)
jdeb=1.5 - conffile has relative path (no leading /)
jdeb=1.6 - conffile has absolute path
jdeb=1.7 - conffile has double slash (//) in the path at the beginning (i.e. //usr/share//data/conf/)
jdeb=1.8 - conffile has double slash (//) in the path at the beginning (i.e. //usr/share//data/conf/)
jdeb=1.9 - conffile has relative path (no leading /)
So, the correct behaviour for sbt-native-packager=1.9.4 is only with jdeb=1.3 and jdeb=1.6
Expected: conffile will have a path to config with absolute path: /usr/share/[package]/data/conf/[file]
In fact: conffile has a path without leading slash: usr/share/[package]/data/conf/[file]
This is occurring when using sbt-native-packager=1.9.4 and jdeb=1.9 (org.vafer) with sbt=1.5.5
From my investigations the absolute paths in conffiles are required (i.e. lintian tool for checking deb packages considers it to be an error if relative paths are in conffile).
What is interesting, I tried other versions of jdeb with the latest version of sbt-native-packager (1.9.4) and got the following results:
So, the correct behaviour for sbt-native-packager=1.9.4 is only with jdeb=1.3 and jdeb=1.6