Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#31749 - Add a whitelist to the NoExtract functionality
Attached to Project:
Pacman
Opened by JB (techryda) - Monday, 01 October 2012, 13:45 GMT
Last edited by Allan McRae (Allan) - Sunday, 02 February 2014, 06:59 GMT
Opened by JB (techryda) - Monday, 01 October 2012, 13:45 GMT
Last edited by Allan McRae (Allan) - Sunday, 02 February 2014, 06:59 GMT
|
DetailsIn pacman.conf it would be useful to add a NoExtractWhitelist= or NoExtractException= directive.
i.e. NoExtract = usr/share/locale/* NoExtractException = usr/share/locale/en_US/* The use case I have in mind for this is the /usr/share/locale/ directory. On my laptop I have no problem with this directory, but I install arch to usb keys frequently and it would be good to be able to blacklist the the 100MB+ and ~2500 files that I don't use w/o having to add every locale other than my own to the NoExtract line. |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 02 February 2014, 06:59 GMT
Reason for closing: Implemented
Additional comments about closing: git commit dfcea145
Sunday, 02 February 2014, 06:59 GMT
Reason for closing: Implemented
Additional comments about closing: git commit dfcea145
It does exactly what you want.
I want to prevent the locale files for other languages from ever being written.
I want to save write cycles and wasted time on my flash drives. Localepurge, according
to what I've read, waits until after your package manager finishes and then cleans up.
I could add an inotify watch to do that, but it would actually write to the drive even
more.
Also, my proposed solution would be generally useful. I can't think of any other case right now
but I'm sure it would prove itself in other use cases.
NoExtract = usr/share/locale/(?!en_US)*