chef / omnibus

Easily create full-stack installers for your project across a variety of platforms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`extra_package_files` not working on `osx` pkg packager

eguzki opened this issue · comments

Description

extra_package_files not working on osx pkg packager. Cannot include files outside install_dir.

Omnibus Version

6.0.1

Platform Version

OSX 10.13

Replication Case

in config/software/mycomponent.rb

etc_dir = '/etc' 
copy("#{files_dir}/comp.conf", "#{etc_dir}/comp.conf")
project.extra_package_file("#{etc_dir}/comp.conf")

Build Output

/etc/comp.conf not included in pkg file.

install-location property of PackageInfo set to /opt/comp and maybe should be /