From 89d3dd7d0ca3904a06480f933442798177b2063a Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 24 Sep 2019 10:53:01 +0200 Subject: [PATCH] Fix layer ordering --- apk/vmmgr | 2 +- build/usr/lib/python3.6/lxcbuild/builder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apk/vmmgr b/apk/vmmgr index d14fba7..171aa76 160000 --- a/apk/vmmgr +++ b/apk/vmmgr @@ -1 +1 @@ -Subproject commit d14fba7ec1759bb9a9a45369d155a9937dbdbecd +Subproject commit 171aa760438326240ece7f034ad5b39a89a4fa74 diff --git a/build/usr/lib/python3.6/lxcbuild/builder.py b/build/usr/lib/python3.6/lxcbuild/builder.py index b6521a8..8072907 100644 --- a/build/usr/lib/python3.6/lxcbuild/builder.py +++ b/build/usr/lib/python3.6/lxcbuild/builder.py @@ -92,7 +92,7 @@ class Builder: layer_path = self.get_layer_path(name) if not os.path.exists(layer_path): raise ImageNotFoundError(layer_path) - self.image.conf['layers'].insert(0, name) + self.image.conf['layers'].insert(-1, name) def fix_layer(self, cmd): layers = [self.get_layer_path(layer) for layer in self.image.conf['layers']]