From: Jonathan Rajotte Date: Wed, 5 Dec 2018 21:24:33 +0000 (-0500) Subject: LAVA: use xenial based rootfs instead of bionic X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b34e93ae468400564c666a182b2a46fc5c620de0;p=lttng-ci.git LAVA: use xenial based rootfs instead of bionic Use xenial instead of bionic ++ since syscall tests 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. Signed-off-by: Jonathan Rajotte --- diff --git a/lava/rootfs/vmdeboostrap/generate-root.py b/lava/rootfs/vmdeboostrap/generate-root.py index 15f3c5b..f9c3854 100755 --- a/lava/rootfs/vmdeboostrap/generate-root.py +++ b/lava/rootfs/vmdeboostrap/generate-root.py @@ -84,7 +84,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')