View Single Post
  #3   (View Single Post)  
Old 20th September 2019
Sensucht94's Avatar
Sensucht94 Sensucht94 is offline
Real Name: Paolo Vincenzo Olivo
Shell Scout
 
Join Date: Oct 2017
Location: Rome
Posts: 129
Default

I recently found out that sysupgrade already supports .xz as an alternative archive extension, once just needs to specify it inside /usr/pkg/etc/sysupgrade.conf; from sysupgrade.conf(5) man page:
Code:
The following configuration variables are recognized: 
...
  ARCHIVE_EXTENSION
           Archive file extension of the sets. Can be either ‘tgz’ or ‘tar.xz’. 
           Default: tgz
Adjusting the variable in the configuration file like below:
Code:
# Archive file extension of the sets. For now it can be either 'tgz' or # 'tar.xz'.
  ARCHIVE_EXTENSION=tar.xz
...results in the sets being correctly fetched again
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„
Reply With Quote