[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Additional files/folders in package



Hello mentors,

i'm in the process of upgrading usbguard to 0.7. In the new upstream
usbguard-daemon.conf there are the folder
/etc/usbguard/IPCAccessControl.d/ and the file
/var/log/usbguard/usbguard-audit.log specified. I'm not sure what's the
best way to create those:

a) remove or comment those lines from the usbguard-daemon.conf file
b) create them in a usbguard.postinst script (mkdir -p and touch in the
configure part)
c) create them in the build directory using d/rules and let dh_install
handle the rest
d) use dh_installdirs (and something similar for the logfile)

is there maybe a debhelper for logfiles (which creates logrotate configs
for those files...)?

at the moment i'd use b), but maybe there are even better solutions?

thanks and cheers,
muri

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: