Skip to content

EMBA update

Michael Messner edited this page Feb 16, 2024 · 6 revisions

The dependency checker of EMBA shows which components should be updated:

image

Updating the different EMBA components is usually quite easy:

  • Updating the main EMBA repository:
cd emba_installation_dir
git pull
  • Updating the EMBA docker base image:
└─$ docker pull embeddedanalyzer/emba
  • Updating the NVD CVE JSON feed

After a default installation the update process needs to be performed as root user:

cd emba_installation_dir/external/nvd-json-data-feeds
sudo git pull

It is possible to update the permissions to your own user to update in the future without sudo:

sudo chown <USER>:<GROUP> emba_installation_dir/external/nvd-json-data-feeds -R
cd emba_installation_dir/external/nvd-json-data-feeds
git pull
  • external directory of a new installation

If you have multiple EMBA installations (e.g. one stable and one Github version) usually you do not need to setup a dedicated external directory for every installation. In most cases it is possible to symlink from one installation to the other one:

└─$ cd new_emba_installation
└─$ ln -s ~/old_emba_installation/external external