This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src/sonic-build-hooks
Saikrishna Arcot 9451a9d43e
Check to see that the py2 and py3 version files exist before trying to sort them (#10325)
For Bullseye, Python 2 isn't present at all. This means that in certain
build cases (such as building something only for Bullseye), the version
file may not exist, and so the sort command would fail.

For most normal build commands, this probably won't be an issue, because
the SONiC build will start with Buster (which has both Python 2 and
Python 3 wheels built), and so the py2 and py3 files will be present
even during the Bullseye builds.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2022-03-22 21:57:15 -07:00
..
debian Recover "Support SONiC Reproduceable Build-debian/pip/web packages (#6255) 2020-12-21 15:31:10 +08:00
hooks [Build]: support to collect version when purging debian package (#10287) 2022-03-21 17:10:33 +08:00
scripts Check to see that the py2 and py3 version files exist before trying to sort them (#10325) 2022-03-22 21:57:15 -07:00
.gitignore Recover "Support SONiC Reproduceable Build-debian/pip/web packages (#6255) 2020-12-21 15:31:10 +08:00
Makefile Recover "Support SONiC Reproduceable Build-debian/pip/web packages (#6255) 2020-12-21 15:31:10 +08:00