Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG] _modutils not support modules xz compression



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.



Messages sorted by: Reverse Date, Date, Thread, Author