Fix buildimage job
Job named "buildimage" fails with following error: E: Package 'kpartx' has no installation candidate So, execute "apt-get update" before required dependencies installation. Also, do not install dependencies specified in 'test-requirements.txt' as redundant. Change-Id: Ic4beaa6be81eb50bafa1dd029722ec84288e6f20 Closes-Bug: #1537011
This commit is contained in:
parent
2d3e436ab5
commit
a07f17734e
@ -141,6 +141,7 @@ if need_required_packages; then
|
||||
if [ -n "$DIB_UPDATE_REQUESTED" ]; then
|
||||
case "$platform" in
|
||||
"ubuntu")
|
||||
sudo apt-get update
|
||||
sudo apt-get install $package_list -y
|
||||
;;
|
||||
"opensuse")
|
||||
|
Loading…
Reference in New Issue
Block a user