refs #1435 adds engine directory to client/engine when ogboot is installed
parent
600dff2b2f
commit
56482e843b
|
@ -459,12 +459,19 @@ def copyClientFiles():
|
|||
logger.error(f"Error while copying client structure")
|
||||
errstatus = 1
|
||||
|
||||
logger.info(f"Copying OpenGnsys Cloning Engine files.")
|
||||
logger.info(f"Copying OpenGnsys Cloning Engine files in client library.")
|
||||
os.makedirs(f"{INSTALL_OGBOOT_TARGET}/client/lib/engine/bin", mode=0o775, exist_ok=True)
|
||||
if 0 != subprocess.run (['rsync', '-aH', f'{REPO_DIR}/client/engine/', f'{INSTALL_OGBOOT_TARGET}/client/lib/engine/bin/']).returncode:
|
||||
logger.error(f"Error while copying engine files")
|
||||
errstatus = 1
|
||||
|
||||
logger.info(f"Copying OpenGnsys Cloning Engine files in client engine.")
|
||||
os.makedirs(f"{INSTALL_OGBOOT_TARGET}/client/engine", mode=0o775, exist_ok=True)
|
||||
if 0 != subprocess.run (['rsync', '-aH', f'{REPO_DIR}/client/engine/', f'{INSTALL_OGBOOT_TARGET}/client/engine/']).returncode:
|
||||
logger.error(f"Error while copying engine files")
|
||||
errstatus = 1
|
||||
|
||||
|
||||
# Creación del archivo ogAdmClient.cfg
|
||||
try:
|
||||
template_path = os.path.join(REPO_DIR, "etc/ogAdmClient.cfg.tmpl")
|
||||
|
|
Loading…
Reference in New Issue