From 46f571c6e2162c7e26423668a1cba00c8caf2662 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 3 Nov 2011 18:57:51 +0100 Subject: [PATCH] force apt update --- kernel_inpbuilder.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5