[vsraw]: build sonic-vs.raw image

This commit is contained in:
Guohan Lu 2020-04-15 11:04:57 +00:00
parent 40d2c79c84
commit f3a1156d45
3 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,2 @@
#DPKG FRK
$(SONIC_RAW_IMAGE)_CACHE_MODE := none

8
platform/vs/raw-image.mk Normal file
View File

@ -0,0 +1,8 @@
# sonic vs raw image installer
SONIC_RAW_IMAGE = sonic-vs.raw
$(SONIC_RAW_IMAGE)_MACHINE = vs
$(SONIC_RAW_IMAGE)_IMAGE_TYPE = raw
$(SONIC_RAW_IMAGE)_INSTALLS += $(SYSTEMD_SONIC_GENERATOR)
$(SONIC_RAW_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_IMAGES)
SONIC_INSTALLERS += $(SONIC_RAW_IMAGE)

View File

@ -5,5 +5,6 @@ include $(PLATFORM_PATH)/docker-syncd-vs.mk
include $(PLATFORM_PATH)/one-image.mk include $(PLATFORM_PATH)/one-image.mk
include $(PLATFORM_PATH)/onie.mk include $(PLATFORM_PATH)/onie.mk
include $(PLATFORM_PATH)/kvm-image.mk include $(PLATFORM_PATH)/kvm-image.mk
include $(PLATFORM_PATH)/raw-image.mk
SONIC_ALL += $(SONIC_ONE_IMAGE) $(SONIC_KVM_IMAGE) $(DOCKER_SONIC_VS) SONIC_ALL += $(SONIC_ONE_IMAGE) $(SONIC_KVM_IMAGE) $(DOCKER_SONIC_VS) $(SONIC_RAW_IMAGE)