From: Holger Levsen Date: Thu, 3 Nov 2011 17:57:51 +0000 (+0100) Subject: force apt update X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=46f571c6e2162c7e26423668a1cba00c8caf2662;p=profitbricks%2Fjenkins-build-scripts.git force apt update --- diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index 9fb12bd..3e9434e 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -310,6 +310,7 @@ def install_extra_modules(): extra_modules = map(lambda x: x.rstrip(), fh) fh.close() + os.system('apt-get update') if extra_modules: cmd = [APT_GET, '-y', 'install'] cmd += extra_modules