forked from ungleich-public/cdist
run apt-get update after deboostrap
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
8af1add2a6
commit
b535e848ad
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ cp -L "$src" "$real_dst"
|
||||||
|
|
||||||
subprocess.call(cmd)
|
subprocess.call(cmd)
|
||||||
|
|
||||||
|
cmd = [ "chroot", self.target_dir, "/usr/bin/apt-get update" ]
|
||||||
|
|
||||||
def create_helper_files(self, base_dir):
|
def create_helper_files(self, base_dir):
|
||||||
for key, val in self.helper.items():
|
for key, val in self.helper.items():
|
||||||
filename = os.path.join(base_dir, key)
|
filename = os.path.join(base_dir, key)
|
||||||
|
|
Loading…
Reference in a new issue