From dbcf952421e3daaea3658625605ff26a2a8db83f Mon Sep 17 00:00:00 2001 From: Reinier van der Walle <walle@astron.nl> Date: Fri, 15 Apr 2016 12:15:04 +0000 Subject: [PATCH] deleting tmp.rbf after flashing --- tools/oneclick/gui/unb_gui_commands.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/oneclick/gui/unb_gui_commands.py b/tools/oneclick/gui/unb_gui_commands.py index 6d03441bcc..5bf86152e0 100644 --- a/tools/oneclick/gui/unb_gui_commands.py +++ b/tools/oneclick/gui/unb_gui_commands.py @@ -377,6 +377,13 @@ class Commands: else: return True + + # remove tmp.rbf + def rm_rbf(self): + lcu_list = self.make_lcu_list() + cmd = "rm /tmp/tmp.rbf" + for lcu in lcu_list: + self.run_command(cmd,lcu) #function for the FLASH Button on the general tab. def flash_rbf(self): @@ -439,4 +446,8 @@ class Commands: self.print_to_terminal('Loading user image\n') self.remu() self.regmap() + + self.rm_rbf() + # delete tmp.rbf here + -- GitLab