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. --- debian/changelog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 9e6ffb67..11c9922f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,10 @@ propellor (4.0.2) UNRELEASED; urgency=medium Thanks, Sean Whitton. * Property.Partition: Update kpartx output parser, as its output format changed around version 0.6. Both output formats are supported now. + * 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. -- Joey Hess Sun, 19 Mar 2017 16:37:27 -0400 -- cgit v1.2.3