zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] _modutils not support modules xz compression
@ 2014-12-26  3:38 Timofey Titovets
  0 siblings, 0 replies; only message in thread
From: Timofey Titovets @ 2014-12-26  3:38 UTC (permalink / raw)
  To: zsh-workers

Recent kernels supported different format for compressing modules xz
and gz, now only gz supported

diff output, spaces broken:
@@ -107,7 +107,7 @@ _modutils() {
 if _cache_invalid modules-$kver || ! _retrieve_cache modules-$kver;
  then
 # 2011-01-02 gi1242: Do we need .o files? Or is .ko enough?
- modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz)(.:t:r:r) )
+ modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz|ko.xz)(.:t:r:r)
)
  _store_cache modules-$kver modules
 fi

-- 
Have a nice day,
Timofey.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-26  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-26  3:38 [BUG] _modutils not support modules xz compression Timofey Titovets

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).