Conan
This document in Russian / Перевод этого документа на русский язык
- README.ru.md Этот документ на русском
Installation
There are two installation variants: via Aurora Platform SDK and the main Aurora SDK.
Aurora Platfrom SDK
Installation steps:
- Download Platform SDK from the link: https://developer.auroraos.ru/downloads/psdk
- Install Platform SDK according to the instructions: https://developer.auroraos.ru/doc/sdk/psdk/setup
- Launch the virtual environment through the utility sdk-chroot:
{path_to_platformSDK}/sdks/aurora_psdk/sdk-chroot - Choose the needed target (rootfs-container which will be used for target device packages generation), for exapmle, AuroraOS-5.1.2.10-base-aarch64, AuroraOS-5.1.2.10-base-armv7hl или AuroraOS-5.1.2.10-base-x86_64
- To find out the list of targets already installed in the environment, use the command:
sdk-assistant list - Enter into the needed target:
sb2 -t {target_name} -m sdk-install -R, for example,sb2 -t AuroraOS-5.1.2.10-base-armv7hl -m sdk-install -R - After the enter update the repositories and packages:
zypper ref && zypper dup - Return to the Platform SDK:
exit - Go to the directory with the ConanClientRpm archive and unpack it:
tar -xvf ConanClientRpm-main.tar.gz - Enter the unpacked archive and launch the installation script using command:
./install-conan - Wait the installation to finish (it may take a long time)
Aurora SDK
Installation steps: Variant 1:
- Download Platform SDK from the link: https://developer.auroraos.ru/downloads/psdk
- Install Platform SDK according to the instructions: https://developer.auroraos.ru/doc/sdk/psdk/setup
- Launch the virtual machine/Docker-container with the Build Engine manually or via the SDK
- Copy the ConanClientRpm archive to the Build Engine:
scp -P 2222 -i {path_to_auroraOS}/vmshare/ssh/private_keys/sdk ConanClientRpm-main.tar.gz mersdk@localhost:~/ - Enter into the Build Engine after launch (via SDK or Virtualbox):
ssh -p 2222 -i {path_to_auroraOS}/vmshare/ssh/private_keys/sdk mersdk@localhostMore detailed: https://developer.auroraos.ru/doc/sdk/app_development/build/build_engine - Go to the directory with the ConanClientRpm archive and unpack it:
tar -xvf ConanClientRpm-main.tar.gz - Choose the needed target (rootfs-container which will be used for target device packages generation), for exapmle, AuroraOS-5.1.2.10-base-aarch64, AuroraOS-5.1.2.10-base-armv7hl или AuroraOS-5.1.2.10-base-x86_64
- To find out the list of targets already installed in the environment, use the command:
sdk-assistant list - Enter into the needed target:
sb2 -t {target_name} -m sdk-install -R, for example,sb2 -t AuroraOS-5.1.2.10-base-armv7hl -m sdk-install -R - After the enter update the repositories and packages:
zypper ref && zypper dup - Return to the Build Engine:
exit - Enter the unpacked archive and launch the installation script using command:
./install-conan - Wait the installation to finish (it may take a long time)
Variant 2 (installation via sfdk):
- Download Platform SDK from the link: https://developer.auroraos.ru/downloads/psdk
- Install Platform SDK according to the instructions: https://developer.auroraos.ru/doc/sdk/psdk/setup
- Launch the virtual machine/Docker-container with the Build Engine manually or via the SDK
- Copy the ConanClientRpm archive to the Build Engine:
scp -P 2222 -i {path_to_auroraOS}/vmshare/ssh/private_keys/sdk ConanClientRpm-main.tar.gz mersdk@localhost:~/ - Go to the Aurora SDK workspace (project directory)
- Activate the Build Engine via sfdk:
{path_to_auroraOS}/bin/sfdk engine exec - Go to the directory with the ConanClientRpm archive and unpack it:
tar -xvf ConanClientRpm-main.tar.gz - Go to the folder with the ConanClientRpm-main installation script and run it with the command:
./install-conan - Wait the installation to finish (it may take a long time)
Removal
- Enter into the Build Engine after launch (via SDK or Virtualbox):
ssh -p 2222 -i {path_to_auroraOS}/vmshare/ssh/private_keys/sdk mersdk@localhost - Select the target for which you want to delete Conan (you can find out the list of targets already installed in the environment using the command:
sdk-assistant list) - Enter into the needed target:
sb2 -t {target_name} -m sdk-install -R, for example,sb2 -t AuroraOS-5.1.2.10-base-armv7hl -m sdk-install -R - Check the availability of Conan:
zypper pa | grep conan - Remove Conan:
zypper remove conan