Changes

Jump to: navigation, search

Axel Embedded Linux Kit (XELK)

914 bytes removed, 06:46, 14 October 2019
Updating git repositories
{{ImportantMessage|text=It's recommended to use the latest available XELK version. Please refer to [[Axel_Embedded_Linux_Kit_(XELK)#Release notes | Release notes]] for further information.}}
==== Updating git repositories ====
In XELK, the following source trees are clones of the correspondent '''DAVE Embedded Systems''' git repositories:
{| class="wikitable"
For more information about the access to these repositories, please refer to [[Building_the_Yocto_BSP_(XELK)|this link]].
==== RSA key generation ==== Please follow the procedure reported below Access to generate the RSA ssh key: * select your username (ad es. username@myhost.com)* start the DVDK and login into the virtual machine* start a shell session* enter the .ssh subdirectory into your home directory: <code>cd ~/.ssh/</code>* launch the following command: <br><pre>ssh-keygen -t rsa -C "username@myhost.com" -f username@myhost.com</pre>* this command creates the files <code>~/.ssh/username@myhost.com</code> ('''private key'DAVE Embedded Systems'git repositories is granted to development kit') and <code>~/.ssh/username@myhosts owners only.com.pub</code> ('''public key''')* edit your <code>~/.ssh/config</code> adding the following lines: <pre>Host git.dave.eu User git Hostname git.dave.eu PreferredAuthentications publickey IdentityFile ~/.ssh/username@myhost.com</pre> Please send the public key file refer to one of the following email support addresses (depending on which SOM is included in your kit version) * [mailto:support-axel@dave.eu support-axel@dave.eu[Accessing_DAVE_Embedded_Systems_restricted_git_repositories|this page]with the request for the creation of a new public git account associated detailed instructions on how to your username. The support team will enable the account and send you a confirmation as soon as possibleget access.
==== Synchronizing the repository ====
When The components listed in the account is enabled, you table above can synchronize a source tree entering the repository directory be kept in sync and launching the <code>git fetch</code> command, like in the following example: <pre class="workstation-terminal">dvdk@dvdk-vm:~$ cd /home/dvdk/axel/linux/dvdk@dvdk-vm:/home/dvdk/axel/linux$ git fetch origin</pre> Please note that <code>git fetch</code> doesnup to date with DAVE Embedded Systems't merge the commits on the current branchrepositories. To do that, you should run
Once the git account has been enabled, the developer can:*clone the repository with the <code>git clone <git_remote_repository><pre class="workstation-terminal"/code>command *synchronize a source tree entering the repository directory and launching the <code>git merge fetch origin/axel</precode>command.
Please note that git fetch doesn't merge the commits on the current branch. To do that, the developer should run the <code>git merge</code> command or replace the ''fetch-merge'' process with a single <code>git pull</code> command. Please note that the recommended method is the ''fetch-merge'' process. For further information on Git, please refer to [the official Git Documentation (http://git-scm.com/documentation Git Documentation].
== Release types ==
8,154
edits

Navigation menu