On overlay filesystem the name of the mountpoint will also match in the
mount command for overlayfs as upperdir=
To prevent detecting the wrong partition we now look for space before.
This ensure that we match mountpoint and not devices in df and mount
outputs.
debian/rules should be 755 and will be modified to 755 if not, which
can cause the image to be marked as dirty
Signed-off-by: Guohan Lu <gulv@microsoft.com>
When there is HWSKU specific initialization needs to be performed, please
add hwsku-init script under device folder, it will be invoked by swss
before any subsequent initializations.
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
* Enable WRED red color profile on mellanox platform
Signed-off-by: Wenda Ni <wenni@microsoft.com>
* Change ingress alpha to 2^(-3) on a7050
* a7050: Add dscp 46 mapping to pg 5 and queue 5; link pg 5 and queue 5 to
lossy profile; Make ecn off by default on queues
Signed-off-by: Wenda <wenni@microsoft.com>
1e61b29 [sonic_eeprom] If reading from what appears to be a corrupt cache file, delete file and read directly from EEPROM (#10)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
for ecn on/off operations, which are conducted at per queue all interfaces granularity.
TODO:
Ideally, we should have ECN/WRED profile applied at per interface per queue
granularity, and we should do it for all hwskus under the device
directory, not just 7050.
Signed-off-by: Wenda Ni <wenni@microsoft.com>
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.
Signed-off-by: Guohan Lu <gulv@microsoft.com>
* 8f52e29 2018-07-25 | Postpone intf task after buffer configuration applied on the port. (#539) (HEAD, origin/201803) [Jipan Yang]
* 2d2fdaa 2018-07-26 | [portsorch]: Refix: Don't print error when alias equal to PortConfigDone (#548) [Qi Luo]
* 87d34db 2018-07-12 | [MirrorOrch]: Fix bug when NULL is returned from the getenv function (#537) [Shuotian Cheng]
* Fix for bash's memory-leak
Memory leak is observed during the execution of scripts that make use of bash-arrays. In scenarios where the offending script is executed on a regular basis (e.g. fancontrol), the leaking process may end up consuming most of the system resources.
In this PR i'm replacing bash in all the contexts where it executes (both host and dockers). The official patch for this issue is here: https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-040
* Fixing minor issue during code-merge
Signed-off-by: Rodny Molina <rmolina@linkedin.com>
* [test] Adding Broadcom configuration file test
In order to allow SONiC community to check in Broadcom configuration
file directly under device folder. We need to add this test to make
sure the contents of the configuration is compliant with Broadcom
specifications.
* Invoke test from Debian package builder
* Use $() syntax
* Remove the debug echo statement