Skip to content

Commit

Permalink
Merge branch 'master' into lldp_bkwm
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-selvaraj committed Apr 16, 2024
2 parents 1e4942e + 404e27b commit e137b62
Show file tree
Hide file tree
Showing 322 changed files with 5,937 additions and 8,651 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ jobs:
- uses: actions/checkout@v3
- run: semgrep ci
env:
SEMGREP_RULES: p/default
SEMGREP_RULES: |
p/default
r/python.lang.security.audit.dangerous-system-call-audit.dangerous-system-call-audit
r/c.lang.security.insecure-use-strcat-fn.insecure-use-strcat-fn
r/c.lang.security.insecure-use-string-copy-fn.insecure-use-string-copy-fn
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fsroot/
fs.*
target/
*.deb
*.udeb
*.changes
*.buildinfo
*.tar
Expand All @@ -28,8 +29,13 @@ sonic-slave*/*.log
# Autogenerated Dockerfiles
sonic-slave*/Dockerfile
sonic-slave*/Dockerfile.user
sonic-slave*/Dockerfile.cleanup
dockers/*/Dockerfile
dockers/*/Dockerfile.cleanup
dockers/*/Dockerfile-dbg.cleanup
platform/*/docker-*/Dockerfile
platform/*/docker-*/Dockerfile.cleanup
platform/*/docker-*/Dockerfile-dbg.cleanup

# Autogenerated manifest files
dockers/*/*manifest*
Expand Down
6 changes: 4 additions & 2 deletions Makefile.cache
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,12 @@ define SAVE_INTO_CACHE
echo "Target $(1) dependencies are modifed - global save cache skipped" >> $($(1)_DST_PATH)/$(1).log
$(eval $(1)_CACHE_DIR := $(SONIC_DPKG_LOCAL_CACHE_DIR))
)
$($(1)_CACHE_USER) tar -C $($(1)_BASE_PATH) -mczvf $($(1)_CACHE_DIR)/$(MOD_CACHE_FILE) $(2) $(addprefix $($(1)_DST_PATH)/,$($(1)_DERIVED_DEBS) $($(1)_EXTRA_DEBS) ) \
cp $($(1)_DST_PATH)/$(1).log $($(1)_DST_PATH)/$(1).cached.log
$($(1)_CACHE_USER) tar -C $($(1)_BASE_PATH) -mczvf $($(1)_CACHE_DIR)/$(MOD_CACHE_FILE) $(2) $(addprefix $($(1)_DST_PATH)/,$($(1)_DERIVED_DEBS) $($(1)_EXTRA_DEBS) $(1).cached.log) \
1>>$($(1)_DST_PATH)/$(1).log
sudo chmod 777 $($(1)_CACHE_DIR)/$(MOD_CACHE_FILE)

rm -f $($(1)_DST_PATH)/$(1).cached.log

echo "File $($(1)_CACHE_DIR)/$(MOD_CACHE_FILE) saved in cache " >> $($(1)_DST_PATH)/$(1).log
echo "[ CACHE::SAVED ] $($(1)_CACHE_DIR)/$(MOD_CACHE_FILE)" >> $($(1)_DST_PATH)/$(1).log

Expand Down
2 changes: 1 addition & 1 deletion build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
python-is-python3 \
cron \
libprotobuf32 \
libgrpc++1 \
libgrpc29 \
libgrpc++1.51 \
haveged \
fdisk \
gpg \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"monErrThreshCrcCells": 1,
"monErrThreshRxCells": 61035156,
"monPollThreshRecovery": 8,
"monPollThreshIsolation": 1
"monPollThreshIsolation": 1,
"monCapacityThreshWarn": 10
}
}
Loading

0 comments on commit e137b62

Please sign in to comment.