Update package creation target to utilise new logging method

This commit is contained in:
Waqar Ahmed
2021-05-05 05:49:28 +05:00
committed by Waqar Ahmed
parent 77033c3cb8
commit dbca2bea90
8 changed files with 42 additions and 44 deletions

View File

@@ -15,8 +15,8 @@ class BuildPackageMixin:
def run_in_chroot(self, command, exception_message=None):
run(
f'chroot {self.dpkg_overlay} /bin/bash -c "{command}"', shell=True, logger=self.logger,
exception_msg=exception_message, env={
f'chroot {self.dpkg_overlay} /bin/bash -c "{command}"', shell=True, exception_msg=exception_message,
env={
**os.environ,
**APT_ENV,
'CONFIG_DEBUG_INFO': 'Y', # Build kernel with debug symbols