Rootfs: add dependencies for hacking sessions
[lttng-ci.git] / lava / rootfs / vmdeboostrap / generate-root.py
index 1ab54e83e307ba52ff7f7d5d6a3ab81569297c5e..9350b7c9ae2649478690dfca4cad53ff5557d3b3 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-import subprocess
 import argparse
-from datetime import datetime
 import gzip
+import os
 import shutil
+import subprocess
+
+from datetime import datetime
 
 
 def compress(filename):
     with open(filename, 'rb') as f_in:
         with gzip.open('{}.gz'.format(filename), 'wb') as f_out:
             shutil.copyfileobj(f_in, f_out)
+    os.remove(filename)
 
 
 packages = [
@@ -57,14 +60,16 @@ packages = [
     'libtool',
     'libxml2',
     'libxml2-dev',
+    'netcat-traditional',
+    'openssh-server',
     'psmisc',
     'python-virtualenv',
     'python3',
-    'python3-setuptools',
     'python3-dev',
     'python3-numpy',
     'python3-pandas',
     'python3-pip',
+    'python3-setuptools',
     'python3-sphinx',
     'stress',
     'swig',
This page took 0.022629 seconds and 4 git commands to generate.