Hi, Do not encode to unicode. vmdebootstrap partial output (see line u'amd'): DEBUG runcmd: ['vmdebootstrap', '--sudo', '--lock-root-password', ' --no-systemd-networkd', '--arch', u'amd64', '--enable-dhcp', ' --configure-apt', '--verbose', '--log', 'vmdebootstrap.log', ' --squash=/tmp/tmpLDGouO/live', '--log-level', 'debug', ' --distribution', 'stretch', '--mirror', 'http://deb.debian.org/debian/ ', '--apt-mirror', 'http://deb.debian.org/debian/', '--customize', '/u sr/share/live-wrapper/customise.sh'] None {} Diff: diff --git a/lwr/run.py b/lwr/run.py index 0be72a3..0a6b26d 100644 --- a/lwr/run.py +++ b/lwr/run.py @@ -44,7 +44,7 @@ class LiveWrapper(cliapp.Application): def add_settings(self): - default_arch = subprocess.check_output(["dpkg", "--print- architecture"]).decode('utf-8').strip() + default_arch = subprocess.check_output(["dpkg", "--print- architecture"]).strip() self.settings.string( ['o', 'image_output'], 'Location for built image', metavar='/PATH/TO/FILE.ISO', New output: DEBUG runcmd: ['vmdebootstrap', '--sudo', '--lock-root-password', ' --no-systemd-networkd', '--arch', 'amd64', '--enable-dhcp', ' --configure-apt', '--verbose', '--log', 'vmdebootstrap.log', ' --squash=/tmp/tmpLDGouO/live', '--log-level', 'debug', ' --distribution', 'stretch', '--mirror', 'http://deb.debian.org/debian/ ', '--apt-mirror', 'http://deb.debian.org/debian/', '--customize', '/u sr/share/live-wrapper/customise.sh'] None {} Regards Phil -- *** If this is a mailing list, I am subscribed, no need to CC me.*** Playing the game for the games sake. Web: https://kathenas.org Twitter: kathenasorg Instagram: kathenasorg
Attachment:
signature.asc
Description: This is a digitally signed message part