e-m-b-a / embark

EMBArk - The firmware security scanning environment
https://www.securefirmware.de
MIT License
314 stars 46 forks source link

emba_updater without branch - question #82

Closed torabi12 closed 1 year ago

torabi12 commented 1 year ago

Describe the bug I checked the emba_updater script on Kali (using emba) and on Ubuntu Server (using EMBArk) and on Kali the main repository is used: image

but on Ubuntu Server I have to define the branch manually: image

To Reproduce Steps to reproduce the behavior:

  1. EMBArk installation (default mode)
  2. Start EMBArk update script: sudo ./emba_updater
  3. See git messages.

Expected behavior EMBArk update script should work without manual hit configuration.

Screenshots See above.

Desktop (please complete the following information):

m-1-k-3 commented 1 year ago

Could you try changing the following line:

git pull | tee -a "$LOG_DIR"/emba_update.log

to

git pull origin master | tee -a "$LOG_DIR"/emba_update.log
torabi12 commented 1 year ago

After the modification it was working on Ubuntu Server: kép

Thank you!