mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-30 01:32:35 +00:00 
			
		
		
		
	 51f896b33e
			
		
	
	51f896b33e
	
	
	
		
			
			**- Why I did it** python2 is end of life and SONiC is going to support python3. This PR is going to support: 1. Build pmon daemons with python3 2. Install and run python3 version pmon daemons **- How I did it** 1. Change pmon daemons make files to build bothe python2 and python3 whl 2. Change docker-platform-monitor make files to install both python2 and python3 whl 3. Change pmon docker startup files to start pmon daemons according to the supported platform API version
		
			
				
	
	
		
			17 lines
		
	
	
		
			742 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			742 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| SPATH       := $($(SONIC_PSUD_PY2)_SRC_PATH)
 | |
| DEP_FILES   := $(SONIC_COMMON_FILES_LIST) rules/sonic-psud.mk rules/sonic-psud.dep
 | |
| DEP_FILES   += $(SONIC_COMMON_BASE_FILES_LIST)
 | |
| SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
 | |
| 
 | |
| $(SONIC_PSUD_PY2)_CACHE_MODE  := GIT_CONTENT_SHA
 | |
| $(SONIC_PSUD_PY2)_DEP_FLAGS   := $(SONIC_COMMON_FLAGS_LIST)
 | |
| $(SONIC_PSUD_PY2)_DEP_FILES   := $(DEP_FILES)
 | |
| $(SONIC_PSUD_PY2)_SMDEP_FILES := $(SMDEP_FILES)
 | |
| $(SONIC_PSUD_PY2)_SMDEP_PATHS := $(SPATH)
 | |
| 
 | |
| $(SONIC_PSUD_PY3)_CACHE_MODE  := GIT_CONTENT_SHA
 | |
| $(SONIC_PSUD_PY3)_DEP_FLAGS   := $(SONIC_COMMON_FLAGS_LIST)
 | |
| $(SONIC_PSUD_PY3)_DEP_FILES   := $(DEP_FILES)
 | |
| $(SONIC_PSUD_PY3)_SMDEP_FILES := $(SMDEP_FILES)
 | |
| $(SONIC_PSUD_PY3)_SMDEP_PATHS := $(SPATH)
 |