Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/prepare_slave_container_buildinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ SLAVE_DIR=$1
ARCH=$2
DISTRO=$3

# Install the latest debian package sonic-build-hooks in the slave container
sudo dpkg -i --force-overwrite $SLAVE_DIR/buildinfo/sonic-build-hooks_*.deb > /dev/null

# Enable the build hooks
symlink_build_hooks

Expand Down
2 changes: 2 additions & 0 deletions scripts/versions_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def _get_config_module(self, default_module, dist, arch):
if ctype not in ctype_components:
ctype_components[ctype] = []
for components in ctype_components.values():
if len(components) == 0:
continue
config_component = self._get_config_for_ctype(components, dist, arch)
config_components.append(config_component)
config_module = VersionModule(self.name, config_components)
Expand Down