Ensure package installation is non-interactive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Obsolete LAVA Test |
Fix Released
|
Undecided
|
Michael Hudson-Doyle |
Bug Description
Installation of package dependencies is currenty performed using "sudo apt-get install -y --force-yes". However, this is not enough to ensure unattended package installation, as some packages contain custom debconf configuration which blocks the process (e.g. gdm). We need to define the env. variable "DEBIAN_
Here is a patch for this:
=== modified file 'lava_test/
--- lava_test/
+++ lava_test/
@@ -65,7 +65,7 @@
if observer:
# XXX: Possible point of target-specific package installation
- cmd = "sudo apt-get install -y --force-yes " + " ".join(self.deps)
+ cmd = "sudo DEBIAN_
if observer:
Changed in lava-test: | |
status: | Fix Committed → Fix Released |
I love debconf!
I've applied your patch, thanks.