From 25114d92a53f519aaf874dc0df9bfdd9f8dd9964 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Mar 2017 13:57:47 -0400 Subject: fix diskimage finalization bug * Fix bug when using setContainerProps with a chroot that prevented properties added to a chroot that way from being seen when propellor was running inside the chroot. This affected disk image creation, and possibly other things that use chroots. The problem was, propagateChrootInfo was being passed the initial version of the Chroot, but then the Chroot got more properties added, and so those were not recorded in the _chroot info. Fix was simply to make InfoPropagator be passed the Chroot as an additional parameter, so Chroot.provisioned' can pass in the final Chroot to it. --- doc/todo/bug_in_diskimage_finalization.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/todo/bug_in_diskimage_finalization.mdwn b/doc/todo/bug_in_diskimage_finalization.mdwn index 288e96f2..3dc9c437 100644 --- a/doc/todo/bug_in_diskimage_finalization.mdwn +++ b/doc/todo/bug_in_diskimage_finalization.mdwn @@ -9,3 +9,5 @@ ensure. I have not yet been able to determine what broke it -- I'm sure it used to work. --[[Joey]] + +> Figured it out, fixed [[done]] --[[Joey]] -- cgit v1.3-2-g0d8e