Revert "Run dependency commands before prebuild commands"

This reverts commit f582b29ffc.
This commit is contained in:
Waqar Ahmed
2023-05-05 06:10:22 +04:00
parent 4a43417233
commit 19aa596542

View File

@@ -114,12 +114,6 @@ class BuildPackageMixin:
with open(os.path.join(self.package_source_with_chroot, 'etc/version'), 'w') as f:
f.write(VERSION)
for dependency_command in self.depscmd:
self.logger.debug('Running depcmd: %r', dependency_command)
self.run_in_chroot(
f'cd {self.package_source} && {dependency_command}', 'Failed to execute dependency command'
)
for prebuild_command in self.prebuildcmd:
self.logger.debug('Running prebuildcmd: %r', prebuild_command)
self.run_in_chroot(