How do you add new files, eg custom init script into .deb package that you're building?
Flint, the simplest way is to add the file to
So if you want to put contrib/scripts/admintool into /usr/bin/foo-admintool You'd do:
dh_install, which reads these, is fairly smart and will try to set permissions to the right values.
Specifically for init scripts, there is
It will be installed as
Subsequently, if you write an upstart job
Will be put in as
And a symlink will be created as