[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 04/17] tests/vm: add source repos on ubuntu.i386
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v1 04/17] tests/vm: add source repos on ubuntu.i386 |
Date: |
Wed, 19 Jun 2019 20:40:08 +0100 |
From: Cleber Rosa <address@hidden>
Possibly because of different behavior on the newly update
cloud-image, trying to run 'apt-get build-dep' results in:
E: You must put some 'source' URIs in your sources.list
This enables all source repos (even though some are not
needed) for simplicity sake.
Signed-off-by: Cleber Rosa <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
---
tests/vm/ubuntu.i386 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386
index 7017e6d388..3ea459ee20 100755
--- a/tests/vm/ubuntu.i386
+++ b/tests/vm/ubuntu.i386
@@ -77,6 +77,7 @@ class UbuntuX86VM(basevm.BaseVM):
time.sleep(5)
self.wait_ssh()
# The previous update sometimes doesn't survive a reboot, so do it
again
+ self.ssh_root_check("sed -ie s/^#\ deb-src/deb-src/g
/etc/apt/sources.list")
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 flex bison")
--
2.20.1
- [Qemu-devel] [PATCH v1 00/17] testing/next (Travis fixes, more tests/vm), Alex Bennée, 2019/06/19
- [Qemu-devel] [PATCH v1 01/17] tests/vm: avoid extra compressed image copy, Alex Bennée, 2019/06/19
- [Qemu-devel] [PATCH v1 04/17] tests/vm: add source repos on ubuntu.i386,
Alex Bennée <=
- [Qemu-devel] [PATCH v1 02/17] tests/vm: avoid image presence check and removal, Alex Bennée, 2019/06/19
- [Qemu-devel] [PATCH v1 03/17] tests/vm: pin ubuntu.i386 image, Alex Bennée, 2019/06/19
- [Qemu-devel] [PATCH v1 08/17] tests/vm: proper guest shutdown, Alex Bennée, 2019/06/19
- [Qemu-devel] [PATCH v1 10/17] tests/vm: serial console support helpers, Alex Bennée, 2019/06/19
- [Qemu-devel] [PATCH v1 14/17] tests/vm: fedora autoinstall, using serial console, Alex Bennée, 2019/06/19