Install the latest version of the sonic build hooks in slave container (#6348)
This commit is contained in:
parent
d4f3318337
commit
a79eb88052
@ -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
|
||||
|
||||
|
@ -190,6 +190,8 @@ class VersionModule:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user