Hi Holger, On Wed, Apr 24, 2013 at 09:20:59PM +0200, Holger Levsen wrote: > <pere> h01ger: about #678931, perhaps piuparts should use etckeeper and > report > the file content changes as well, to have some idea what is going on... :)
This can be done by adding the scripts in attach as custom scripts to the scriptsdir. In that case piuparts needs to run with '-I /etc/.git', to ignore the data in the git repo. Also, with these scripts, piuparts won't detect issues caused by missing dependencies on packages depended on by etckeeper. Cheers, Ivo
#!/bin/sh apt-get -y install etckeeper etckeeper vcs tag post_setup
#!/bin/sh etckeeper commit post_purge || true etckeeper vcs diff pre_test
#!/bin/sh etckeeper commit post_install || true etckeeper vcs tag pre_test