mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
issue #37355
This commit is contained in:
parent
7dc87ab7b8
commit
92366e646c
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ def gen_thin(cachedir, extra_mods='', overwrite=False, so_mods='',
|
|||
# symlink for backports directory on old distributions
|
||||
tmpbackports = tempfile.mkdtemp(suffix='_backports_workaround',prefix='salt_')
|
||||
tmpbackports_symlink = os.path.join(WA,'symlink')
|
||||
os.symlink('salt/ext', tmpbackports_symlink)
|
||||
os.symlink('salt/ext', tmpbackports_symlink)
|
||||
tftp_deref_old = tfp.dereference
|
||||
tfp.dereference = False
|
||||
tfp.add(tmpbackports_symlink, arcname=os.path.join('py{0}'.format(py_ver), 'backports'))
|
||||
|
|
Loading…
Add table
Reference in a new issue