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
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_ipmitool_raw_output(args):
proc.wait()
if not proc.returncode:
result = stdout.rstrip('\n')
except:
except EnvironmentError:
pass

for i in result.split():
Expand Down Expand Up @@ -180,7 +180,7 @@ def _get_ipmitool_fru_print(self):
proc.wait()
if not proc.returncode:
result = stdout.decode('utf-8').rstrip('\n')
except:
except EnvironmentError:
pass

return result
Expand Down Expand Up @@ -253,7 +253,7 @@ def get_fru_data(self, offset, count=1):
proc.wait()
if not proc.returncode:
result = stdout.decode('utf-8').rstrip('\n')
except:
except EnvironmentError:
is_valid = False

if (not result) or (not is_valid):
Expand Down

This file was deleted.

1 change: 1 addition & 0 deletions rules/docker-config-engine-stretch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

DOCKER_CONFIG_ENGINE_STRETCH = docker-config-engine-stretch.gz
$(DOCKER_CONFIG_ENGINE_STRETCH)_PATH = $(DOCKERS_PATH)/docker-config-engine-stretch
$(DOCKER_CONFIG_ENGINE_STRETCH)_DEPENDS += $(LIBSWSSCOMMON) $(PYTHON2_SWSSCOMMON)
$(DOCKER_CONFIG_ENGINE_STRETCH)_PYTHON_WHEELS += $(SWSSSDK_PY2)
$(DOCKER_CONFIG_ENGINE_STRETCH)_PYTHON_WHEELS += $(SONIC_PY_COMMON_PY2)
$(DOCKER_CONFIG_ENGINE_STRETCH)_PYTHON_WHEELS += $(SONIC_CONFIG_ENGINE_PY2)
Expand Down
24 changes: 21 additions & 3 deletions sonic-slave-buster/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ RUN apt-get update && apt-get install -y \
dh-exec \
kmod \
libtinyxml2-6a \
libboost-program-options1.67-dev \
libtinyxml2-dev \
python \
python-pip \
Expand Down Expand Up @@ -121,7 +120,6 @@ RUN apt-get update && apt-get install -y \
module-assistant \
# For thrift build\
gem2deb \
libboost-all-dev \
libevent-dev \
libglib2.0-dev \
libqt4-dev \
Expand Down Expand Up @@ -321,7 +319,27 @@ RUN apt-get update && apt-get install -y \
docbook-to-man \
docbook-utils \
# For kdump-tools
libbz2-dev
libbz2-dev \
# For linkmgrd
libboost1.71-dev \
libboost-program-options1.71-dev \
libboost-system1.71-dev \
libboost-thread1.71-dev \
libboost-atomic1.71-dev \
libboost-chrono1.71-dev \
libboost-container1.71-dev \
libboost-context1.71-dev \
libboost-contract1.71-dev \
libboost-coroutine1.71-dev \
libboost-date-time1.71-dev \
libboost-fiber1.71-dev \
libboost-filesystem1.71-dev \
libboost-graph-parallel1.71-dev \
libboost-log1.71-dev \
libboost-regex1.71-dev \
googletest \
libgtest-dev \
libgcc-8-dev

# Build fix for ARMHF buster libsairedis
{%- if CONFIGURED_ARCH == "armhf" %}
Expand Down
2 changes: 2 additions & 0 deletions src/sonic-host-services/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
addopts = --cov=scripts --cov-report html --cov-report term --cov-report xml
Empty file modified src/sonic-host-services/scripts/process-reboot-cause
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/sonic-platform-daemons