Remove cppcheck jobs
[lttng-ci.git] / lava / rootfs / vmdeboostrap / generate-root.py
index 9350b7c9ae2649478690dfca4cad53ff5557d3b3..02e66d838275182c89113f81ffe724af23fc0a7d 100755 (executable)
@@ -40,7 +40,6 @@ packages = [
     'chrpath',
     'clang',
     'cloc',
-    'cppcheck',
     'curl',
     'elfutils',
     'flex',
@@ -84,7 +83,14 @@ packages = [
 def main():
     parser = argparse.ArgumentParser(description='Generate lava lttng rootfs')
     parser.add_argument("--arch", default='amd64')
-    parser.add_argument("--distribution", default='bionic')
+    # We are using xenial instead of bionic ++ since some syscall test depends
+    # on cat and the libc to use the open syscall. In recent libc openat is
+    # used. See these commit in lttng-tools that helps with the problem:
+    # c8e51d1559c48a12f18053997bbcff0c162691c4
+    # 192bd8fb712659b9204549f29d9a54dc2c57a9e
+    # These are only part of 2.11 and were not backported since they do not
+    # represent a *problem* per se.
+    parser.add_argument("--distribution", default='xenial')
     parser.add_argument("--mirror", default='http://archive.ubuntu.com/ubuntu')
     parser.add_argument(
         "--component", default='universe,multiverse,main,restricted')
@@ -110,7 +116,6 @@ def main():
         "--user={}".format(user),
         "--root-password={}".format(root_password),
         "--no-kernel",
-        "--enable-dhcp",
         "--verbose",
     ]
 
This page took 0.022814 seconds and 4 git commands to generate.