refs #1614 fix whitespace
parent
5dfeffb6d6
commit
1ee274bd0b
|
@ -226,8 +226,8 @@ def copy_og_files (builder, og_shared, ogclientmount, osdistrib, oscodename):
|
||||||
os.makedirs (f'{ogclientmount}/usr/local/lib', exist_ok=True)
|
os.makedirs (f'{ogclientmount}/usr/local/lib', exist_ok=True)
|
||||||
os.makedirs (f'{ogclientmount}/usr/local/plugins', exist_ok=True)
|
os.makedirs (f'{ogclientmount}/usr/local/plugins', exist_ok=True)
|
||||||
|
|
||||||
subprocess.run (f'rsync -aH {builder}/includes/* {ogclientmount}/' , shell=True)
|
subprocess.run (f'rsync -aH {builder}/includes/* {ogclientmount}/' , shell=True)
|
||||||
subprocess.run (f'rsync -aH {og_shared}/* {ogclientmount}/opt/opengnsys/' , shell=True)
|
subprocess.run (f'rsync -aH {og_shared}/* {ogclientmount}/opt/opengnsys/', shell=True)
|
||||||
|
|
||||||
if not os.path.exists (f'{ogclientmount}/etc/pci.ids'):
|
if not os.path.exists (f'{ogclientmount}/etc/pci.ids'):
|
||||||
shutil.copy (f'{og_shared}/lib/pci.ids', f'{ogclientmount}/etc/')
|
shutil.copy (f'{og_shared}/lib/pci.ids', f'{ogclientmount}/etc/')
|
||||||
|
@ -239,7 +239,7 @@ def copy_og_files (builder, og_shared, ogclientmount, osdistrib, oscodename):
|
||||||
subprocess.run (f'rsync -aH {og_shared}/lib/qtplugins/* {ogclientmount}/usr/local/plugins', shell=True)
|
subprocess.run (f'rsync -aH {og_shared}/lib/qtplugins/* {ogclientmount}/usr/local/plugins', shell=True)
|
||||||
|
|
||||||
# Browser
|
# Browser
|
||||||
if os.path.exists (f'{og_shared}/bin/browser'): shutil.copy (f'{og_shared}/bin/browser', f'{ogclientmount}/bin/')
|
if os.path.exists (f'{og_shared}/bin/browser'): shutil.copy (f'{og_shared}/bin/browser', f'{ogclientmount}/bin/')
|
||||||
|
|
||||||
def sysctl (btrootfsmnt):
|
def sysctl (btrootfsmnt):
|
||||||
logger.debug ('copiando sysctl.conf')
|
logger.debug ('copiando sysctl.conf')
|
||||||
|
|
Loading…
Reference in New Issue