]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
force apt update
authorHolger Levsen <holger@layer-acht.org>
Thu, 3 Nov 2011 17:57:51 +0000 (18:57 +0100)
committerHolger Levsen <holger@layer-acht.org>
Thu, 3 Nov 2011 17:57:51 +0000 (18:57 +0100)
kernel_inpbuilder.py

index 9fb12bdb0ddc94267d2aa4bdaa1dac7df038019b..3e9434e4a1afef3334a1006095bf9f5bba4067bf 100644 (file)
@@ -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