From: Philippe Mathieu-Daudé Date: Thu, 28 Jun 2018 15:35:35 +0000 (-0300) Subject: tests/vm: Add flex and bison to the vm image X-Git-Tag: v3.1.0-rc0~141^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3f9f64bf9182f949af7d7b08f7387c976957eec;p=thirdparty%2Fqemu.git tests/vm: Add flex and bison to the vm image Similar to 79f24568e5e70, this fixes the following warnings: CHK version_gen.h LEX convert-dtsv0-lexer.lex.c make[1]: flex: Command not found BISON dtc-parser.tab.c make[1]: bison: Command not found LEX dtc-lexer.lex.c make[1]: flex: Command not found Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180628153535.1411-5-f4bug@amsat.org> Signed-off-by: Fam Zheng --- diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index fc319e0e6eb..fc27b6935e7 100755 --- a/tests/vm/ubuntu.i386 +++ b/tests/vm/ubuntu.i386 @@ -77,7 +77,7 @@ class UbuntuX86VM(basevm.BaseVM): # The previous update sometimes doesn't survive a reboot, so do it again self.ssh_root_check("apt-get update") self.ssh_root_check("apt-get build-dep -y qemu") - self.ssh_root_check("apt-get install -y libfdt-dev") + self.ssh_root_check("apt-get install -y libfdt-dev flex bison") self.ssh_root("poweroff") self.wait() if os.path.exists(img):