Adding configfile
Hi,
I'm building a package (aiccu) that creates the config file
(/etc/aiccu.conf) dynamically in the postinst-script. Because of this it
won't show up if you do "dpkg -L aiccu".
I tried to add the file "/etc/aiccu.conf" to 'debian/aiccu.conffiles'
but if I try to build (see below) the package the debhelper (I assume)
removes this file and git-buildpackage complains about a 'missing file'
Can somebody help me out or point me in the right direction.
Thanks in advance.
Best regards,
Reinier
> reinier@debpack:~/deb/aiccu$ git status
> # On branch mw/config
> nothing to commit (working directory clean)
> reinier@debpack:~/deb/aiccu$ git-buildpackage --git-debian-branch=mw/config
> QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
> No patch removed
> rm -rf .pc debian/stamp-patched
> dh clean
> dh_testdir
> dh_auto_clean
> make[1]: Entering directory `/home/reinier/deb/aiccu'
> if [ -f build-stamp ]; then debian/rules clean; fi
> make[2]: Entering directory `/home/reinier/deb/aiccu/unix-console'
> rm -f main.o ../common/tun.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o ../common/resolver.o ../common/aiccu_linux.o aiccu
> make[2]: Leaving directory `/home/reinier/deb/aiccu/unix-console'
> make[1]: Leaving directory `/home/reinier/deb/aiccu'
> dh_clean
> You have uncommitted changes in your source tree:
> # On branch mw/config
> # Changed but not updated:
> # (use "git add/rm <file>..." to update what will be committed)
> # (use "git checkout -- <file>..." to discard changes in working directory)
> #
> # deleted: debian/aiccu.conffiles
> #
> no changes added to commit (use "git add" and/or "git commit -a")
>
> Use --git-ignore-new to ignore.
> reinier@debpack:~/deb/aiccu$
Reply to: