Skip to content

Commit

Permalink
[arista]: Fix buster build for aboot based images (#51)
Browse files Browse the repository at this point in the history
* Use SONIC_DPKG_DEBS for arista drivers
* Update arista drivers submodules
* Increase size of the DOCKER_RAMFS
  • Loading branch information
lguohan authored Feb 28, 2020
2 parents bb011d5 + 0272726 commit dd97c2e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion onie-image.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FILESYSTEM_DOCKERFS=dockerfs.tar.gz
DOCKERFS_DIR=docker

## docker ramfs disk space
DOCKER_RAMFS_SIZE=900M
DOCKER_RAMFS_SIZE=1000M

## Output file name for onie installer
OUTPUT_ONIE_IMAGE=target/sonic-$TARGET_MACHINE.bin
Expand Down
2 changes: 1 addition & 1 deletion platform/barefoot/platform-modules-arista.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export ARISTA_PLATFORM_MODULE_VERSION
ARISTA_PLATFORM_MODULE = sonic-platform-arista_$(ARISTA_PLATFORM_MODULE_VERSION)_amd64.deb
$(ARISTA_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-arista
$(ARISTA_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
SONIC_MAKE_DEBS += $(ARISTA_PLATFORM_MODULE)
SONIC_DPKG_DEBS += $(ARISTA_PLATFORM_MODULE)

ARISTA_PLATFORM_MODULE_PYTHON2 = python-sonic-platform-arista_$(ARISTA_PLATFORM_MODULE_VERSION)_all.deb
$(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODULE_PYTHON2)))
Expand Down
2 changes: 1 addition & 1 deletion platform/barefoot/sonic-platform-modules-arista
Submodule sonic-platform-modules-arista updated 98 files
+14 −1 .gitignore
+87 −0 arista/cli/__init__.py
+19 −0 arista/cli/actions/__init__.py
+20 −0 arista/cli/actions/clean.py
+20 −0 arista/cli/actions/daemon.py
+26 −0 arista/cli/actions/diag.py
+9 −0 arista/cli/actions/dump.py
+27 −0 arista/cli/actions/platform.py
+13 −0 arista/cli/actions/platforms.py
+10 −0 arista/cli/actions/reboot.py
+30 −0 arista/cli/actions/reboot_cause.py
+46 −0 arista/cli/actions/reset.py
+53 −0 arista/cli/actions/setup.py
+11 −0 arista/cli/actions/syseeprom.py
+38 −0 arista/cli/actions/watchdog.py
+44 −0 arista/cli/args/__init__.py
+11 −0 arista/cli/args/clean.py
+11 −0 arista/cli/args/daemon.py
+15 −0 arista/cli/args/diag.py
+10 −0 arista/cli/args/dump.py
+9 −0 arista/cli/args/platform.py
+8 −0 arista/cli/args/platforms.py
+14 −0 arista/cli/args/reboot.py
+14 −0 arista/cli/args/reboot_cause.py
+21 −0 arista/cli/args/reset.py
+15 −0 arista/cli/args/setup.py
+8 −0 arista/cli/args/syseeprom.py
+16 −0 arista/cli/args/watchdog.py
+11 −0 arista/cli/exception.py
+124 −0 arista/cli/parser.py
+8 −1 arista/components/common.py
+39 −19 arista/components/cpld.py
+0 −0 arista/components/cpu/__init__.py
+61 −0 arista/components/cpu/crow.py
+30 −0 arista/components/cpu/raven.py
+80 −0 arista/components/cpu/rook.py
+3 −1 arista/components/dpm.py
+3 −1 arista/components/ds125br.py
+54 −3 arista/components/eeprom.py
+3 −73 arista/components/fan.py
+18 −0 arista/components/pca9555.py
+0 −16 arista/components/rook.py
+4 −2 arista/components/scd.py
+40 −0 arista/core/backtrace.py
+35 −1 arista/core/component.py
+4 −1 arista/core/config.py
+110 −0 arista/core/daemon.py
+6 −0 arista/core/diag.py
+13 −1 arista/core/driver.py
+66 −0 arista/core/dynload.py
+4 −7 arista/core/fixed.py
+1 −1 arista/core/inventory.py
+172 −0 arista/core/log.py
+44 −0 arista/core/metainventory.py
+21 −9 arista/core/platform.py
+136 −0 arista/core/register.py
+4 −1 arista/core/utils.py
+4 −0 arista/daemon/__init__.py
+39 −0 arista/daemon/mac.py
+34 −0 arista/daemon/seu.py
+13 −0 arista/drivers/cpld.py
+3 −2 arista/drivers/dpm.py
+3 −2 arista/drivers/ds460.py
+18 −2 arista/drivers/eeprom.py
+39 −1 arista/drivers/i2c.py
+45 −0 arista/drivers/pca9555.py
+3 −1 arista/drivers/pmbus.py
+3 −2 arista/drivers/psu.py
+3 −1 arista/drivers/scd.py
+3 −1 arista/drivers/sysfs.py
+2 −58 arista/platforms/__init__.py
+3 −3 arista/platforms/a7050cx332s.py
+1 −1 arista/platforms/a7050qx32.py
+5 −2 arista/platforms/a7050qx32s.py
+4 −4 arista/platforms/a7060cx32s.py
+4 −1 arista/platforms/a7060x432.py
+4 −2 arista/platforms/a717064c.py
+4 −2 arista/platforms/a7260cx364.py
+148 −0 build.mk
+2 −1 debian/changelog
+1 −2 debian/control
+0 −4 debian/files
+22 −37 debian/rules
+34 −12 setup.py
+10 −5 src/scd-hwmon.c
+136 −67 src/scd.c
+0 −0 systemd/arista-reboot-cause.service
+14 −0 systemd/platform-arista-daemon.service
+0 −0 systemd/sonic-platform-arista.service
+0 −0 systemd/watchdog-stop.service
+0 −59 tests/all-platforms.sh
+67 −0 tests/cli_platforms.py
+349 −0 tests/inventory.py
+23 −13 tests/platforms.py
+4 −0 tests/register.py
+102 −0 tests/registers.py
+0 −0 udev/98-scd-uio.rules
+2 −311 utils/arista
2 changes: 1 addition & 1 deletion platform/broadcom/platform-modules-arista.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export ARISTA_PLATFORM_MODULE_VERSION
ARISTA_PLATFORM_MODULE = sonic-platform-arista_$(ARISTA_PLATFORM_MODULE_VERSION)_amd64.deb
$(ARISTA_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-arista
$(ARISTA_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON)
SONIC_MAKE_DEBS += $(ARISTA_PLATFORM_MODULE)
SONIC_DPKG_DEBS += $(ARISTA_PLATFORM_MODULE)

ARISTA_PLATFORM_MODULE_PYTHON2 = python-sonic-platform-arista_$(ARISTA_PLATFORM_MODULE_VERSION)_all.deb
$(eval $(call add_extra_package,$(ARISTA_PLATFORM_MODULE),$(ARISTA_PLATFORM_MODULE_PYTHON2)))
Expand Down
2 changes: 1 addition & 1 deletion platform/broadcom/sonic-platform-modules-arista
Submodule sonic-platform-modules-arista updated 98 files
+14 −1 .gitignore
+87 −0 arista/cli/__init__.py
+19 −0 arista/cli/actions/__init__.py
+20 −0 arista/cli/actions/clean.py
+20 −0 arista/cli/actions/daemon.py
+26 −0 arista/cli/actions/diag.py
+9 −0 arista/cli/actions/dump.py
+27 −0 arista/cli/actions/platform.py
+13 −0 arista/cli/actions/platforms.py
+10 −0 arista/cli/actions/reboot.py
+30 −0 arista/cli/actions/reboot_cause.py
+46 −0 arista/cli/actions/reset.py
+53 −0 arista/cli/actions/setup.py
+11 −0 arista/cli/actions/syseeprom.py
+38 −0 arista/cli/actions/watchdog.py
+44 −0 arista/cli/args/__init__.py
+11 −0 arista/cli/args/clean.py
+11 −0 arista/cli/args/daemon.py
+15 −0 arista/cli/args/diag.py
+10 −0 arista/cli/args/dump.py
+9 −0 arista/cli/args/platform.py
+8 −0 arista/cli/args/platforms.py
+14 −0 arista/cli/args/reboot.py
+14 −0 arista/cli/args/reboot_cause.py
+21 −0 arista/cli/args/reset.py
+15 −0 arista/cli/args/setup.py
+8 −0 arista/cli/args/syseeprom.py
+16 −0 arista/cli/args/watchdog.py
+11 −0 arista/cli/exception.py
+124 −0 arista/cli/parser.py
+8 −1 arista/components/common.py
+39 −19 arista/components/cpld.py
+0 −0 arista/components/cpu/__init__.py
+61 −0 arista/components/cpu/crow.py
+30 −0 arista/components/cpu/raven.py
+80 −0 arista/components/cpu/rook.py
+3 −1 arista/components/dpm.py
+3 −1 arista/components/ds125br.py
+54 −3 arista/components/eeprom.py
+3 −73 arista/components/fan.py
+18 −0 arista/components/pca9555.py
+0 −16 arista/components/rook.py
+4 −2 arista/components/scd.py
+40 −0 arista/core/backtrace.py
+35 −1 arista/core/component.py
+4 −1 arista/core/config.py
+110 −0 arista/core/daemon.py
+6 −0 arista/core/diag.py
+13 −1 arista/core/driver.py
+66 −0 arista/core/dynload.py
+4 −7 arista/core/fixed.py
+1 −1 arista/core/inventory.py
+172 −0 arista/core/log.py
+44 −0 arista/core/metainventory.py
+21 −9 arista/core/platform.py
+136 −0 arista/core/register.py
+4 −1 arista/core/utils.py
+4 −0 arista/daemon/__init__.py
+39 −0 arista/daemon/mac.py
+34 −0 arista/daemon/seu.py
+13 −0 arista/drivers/cpld.py
+3 −2 arista/drivers/dpm.py
+3 −2 arista/drivers/ds460.py
+18 −2 arista/drivers/eeprom.py
+39 −1 arista/drivers/i2c.py
+45 −0 arista/drivers/pca9555.py
+3 −1 arista/drivers/pmbus.py
+3 −2 arista/drivers/psu.py
+3 −1 arista/drivers/scd.py
+3 −1 arista/drivers/sysfs.py
+2 −58 arista/platforms/__init__.py
+3 −3 arista/platforms/a7050cx332s.py
+1 −1 arista/platforms/a7050qx32.py
+5 −2 arista/platforms/a7050qx32s.py
+4 −4 arista/platforms/a7060cx32s.py
+4 −1 arista/platforms/a7060x432.py
+4 −2 arista/platforms/a717064c.py
+4 −2 arista/platforms/a7260cx364.py
+148 −0 build.mk
+2 −1 debian/changelog
+1 −2 debian/control
+0 −4 debian/files
+22 −37 debian/rules
+34 −12 setup.py
+10 −5 src/scd-hwmon.c
+136 −67 src/scd.c
+0 −0 systemd/arista-reboot-cause.service
+14 −0 systemd/platform-arista-daemon.service
+0 −0 systemd/sonic-platform-arista.service
+0 −0 systemd/watchdog-stop.service
+0 −59 tests/all-platforms.sh
+67 −0 tests/cli_platforms.py
+349 −0 tests/inventory.py
+23 −13 tests/platforms.py
+4 −0 tests/register.py
+102 −0 tests/registers.py
+0 −0 udev/98-scd-uio.rules
+2 −311 utils/arista

0 comments on commit dd97c2e

Please sign in to comment.