tumbleweed-cli
tumbleweed-cli copied to clipboard
Support for zypper parallel preload (ZYPP_PCK_PRELOAD and ZYPP_CURL2 environment variables).
See https://lists.opensuse.org/archives/list/[email protected]/thread/LOCZIG43MFJSTUIQ3VH2CRSYRCBNR4O7/#JZXNN2N77IOOZVQZDVGVC3AK5U2XEY4U
There are two issues
-
tumbleweedscript is usingsudoso environment variables get lost. It needs to passZYPP_PCK_PRELOADandZYPP_CURL2through. - Using
metalink=may improve download speed,tumbleweedneeds to support editing this URL in addition tobaseurl=.
- hmm, if you do
tumbleweed switchand then run zypper however you like that should work to dozypper refandzypper dup. Not sure what the best solution is as a fork to not use sudo or passing in variables seems not ideal. Could just usesudo -E, but not sure if any other negative side effects of doing that. - tumbleweed-cli would need to modify the URL on initial setup, but after that the libzypp variable is used to change the snapshot. If you modify the file yourself it should work.