Constructing the message from self.settings["user"] can result in a message:
Changing owner to []

The value being set is self.settings["owner"] and "user" only exists if
the --user option is used (and would then give a potentially misleading
message).

    def chown(self, rootdir):
        # Change image owner after completed build
        self.message("Changing owner to %s" % self.settings["owner"])
        subprocess.call(["chown",
                         self.settings["owner"],
                         self.settings["image"]])


Testing continuing and then I'll merge this upstream.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: signature.asc
Description: PGP signature

Reply via email to