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

Re: cruft: support dpkg path-exclude/path-include



control: tag -1 pending


I've added support for path-exclude to cruft-ng.

https://github.com/a-detiste/cruft-ng/commit/6d265fa9670a636f0ba761e1ead5ef5f3a60efbf

A few comments:

- apt has "apt-config dump", but dpkg doesn't have an equivalent,
  so I brought my own; that's ok, as cruft{-ng} needs to closely follow
  dpkg internals anyway

- path-include would be much more difficult to implement with little gain

  every one seems to use it for /usr/share/locale or /usr/share/man
  or even /usr/share/doc ... ; that are all optional files
  (likewise I also put /var/log on tmpfs on my raspberry's to spare the SD card)

  https://raphaelhertzog.com/2010/11/15/save-disk-space-by-excluding-useless-files-with-dpkg/


Cheers,

Alexandre

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: