From b34e93ae468400564c666a182b2a46fc5c620de0 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 5 Dec 2018 16:24:33 -0500 Subject: [PATCH] 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 --- lava/rootfs/vmdeboostrap/generate-root.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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') -- 2.34.1