456adc32a9
Copying platform.json file into an empty /usr/share/sonic/platform directory does not mimic an actual device. A more correct approach is to create a /usr/share/sonic/platform symlink which links to the actual platform directory; this is more like what is done inside SONiC containers. Then, we only need to copy the platform.json file into the actual platform directory; the symlink takes care of the alternative path, and also exposes all the other files in the platform directory. |
||
---|---|---|
.. | ||
50-default.conf | ||
chassis_db.py | ||
database_config.json | ||
default_chassis_cfg.json | ||
Dockerfile.j2 | ||
hostname.j2 | ||
hwsku.json | ||
init_cfg.json.j2 | ||
orchagent.sh | ||
platform.json | ||
sonic-dev.gpg.key | ||
start.sh | ||
supervisord.conf |