문제

I am using the SBT Native Packager to build RPMs from a Scala project (written using Play Framework).

The documentation for SBT Native Packager says:

If you include a conf/ directory with configuration, this will show up as a symlink under /etc/app/

How do I stop it creating this symlink? /etc/app/ will already exist, and I'm going to supply config with a file generated by puppet instead.

도움이 되었습니까?

해결책

This seems to work (in my build.sbt):

linuxPackageSymlinks <<= (linuxPackageSymlinks) map (_ => Seq.empty[LinuxSymlink])

I believe the <<= is an override operator. This should just be replacing the 'list of symlinks to create' with an empty list before they have a chance to be created.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top