-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build improvements #80
Conversation
Fix dependencies Add configuration options Automatically build sonic-slave
Signed-off-by: marian-pritsak <[email protected]>
Remove log file on flush instead of writing empty string
Use same lock as debian install targets do to avoid race condition in dpkg installation
pushd redis-3.0.7; fakeroot debian/rules binary; popd | ||
mv $(DERIVED_TARGETS) $* $(DEST)/ | ||
|
||
$(addprefix $(DEST)/, $(DERIVED_TARGETS)): $(DEST)/% : $(DEST)/$(MAIN_TARGET) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we update this to the latest version? we are using 3.2.4 now. #Resolved
REDIS_SERVER = redis-server_3.0.7-2_amd64.deb | ||
$(eval $(call add_derived_package,$(REDIS_TOOLS),$(REDIS_SERVER))) | ||
|
||
REDIS_SENTINEL = redis-sentinel_3.0.7-2_amd64.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version ->3.2.4-1~bpo8+1
pushd p4-switch; ./build.sh; popd | ||
|
||
lldpd_0.9.5-0_amd64.deb liblldpctl-dev_0.9.5-0_amd64.deb: | ||
$(call build_project, lldpd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new stuffs, need to keep.
|
||
## Function: build_project_py2, directory | ||
## Build the project and save the .deb target in the same directory | ||
define build_project_py2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new stuffs, need to keep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
## Function: install_py3, whlfile | ||
install_py3 = \ | ||
sudo pip3 install $(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new stuffs, need to keep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@qiluo-msft, can you comment on the new stuffs we added to the build system and need to keep? |
Conflicts: src/Makefile src/redis/build.sh
Each class which requires logging now inherits from sonic-py-common.logger.Logger
e56e9b4 Fix CVE-2021-3121 warning (#96) bf1be4f [ci]: Support code diff coverage threshold 50% (#94) 64e516c Ported Marvell armhf build on x86 for debian buster to use cross-compilation instead of qemu emulation (#80) e426388 [ci]: Support azp code coverage (#87)
… no attribute 'decode' (sonic-net#80) * [lldp] fix issue sonic-net#79 * review comments - set local mgmt ip to '' if missing
e56e9b4 Fix CVE-2021-3121 warning (#96) bf1be4f [ci]: Support code diff coverage threshold 50% (#94) 64e516c Ported Marvell armhf build on x86 for debian buster to use cross-compilation instead of qemu emulation (#80) e426388 [ci]: Support azp code coverage (#87)
Merge pull request sonic-net#79 from Kalimuthu-Velappan/master
Why I did it Update sonic-telemetry submodules (to fix CVE-2021-3121 alert). e56e9b4 Fix CVE-2021-3121 warning (#96) bf1be4f [ci]: Support code diff coverage threshold 50% (#94) 64e516c Ported Marvell armhf build on x86 for debian buster to use cross-compilation instead of qemu emulation (#80) e426388 [ci]: Support azp code coverage (#87) 0443e66 Remove DB Directory removal as part of make clean (#84) 085f29d Fix unhandled nil err check to prevent rpc causing a crash (#78)
Include following changes; * 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (sonic-net#78) (github/master, github/202205, master, 202205) [Jing Zhang] * 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (sonic-net#80) [Longxiang Lyu] * 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (sonic-net#81) [Longxiang Lyu] * d744bfb 2022-05-25 | Support switch between using wellknown mac or server mac addr (sonic-net#73) [Longxiang Lyu] * 684e989 2022-05-18 | Avoid switching active when `LinkState == Down` (sonic-net#77) [Jing Zhang] * e4aa4fd 2022-05-17 | [Makefile] Remove redundant optimization options (sonic-net#75) [Longxiang Lyu] * 4ec7505 2022-05-12 | [ci]: uplift diff coverage threshold to 80% (sonic-net#71) [Jing Zhang] * df51322 2022-05-06 | Add `ActiveActiveStateMachine` implementation (sonic-net#64) [Longxiang Lyu] * e721ceb 2022-05-04 | Add doc for default route related changes (sonic-net#63) [Jing Zhang] * 7bb06fb 2022-05-03 | Add Cli support to enable or disable default route related feature (sonic-net#68) [Jing Zhang] * e4b02cb 2022-05-02 | Reset WaitActiveUp count before switching to active (sonic-net#70) [Jing Zhang] * 212d960 2022-04-27 | lower log level to warning (sonic-net#69) [Jing Zhang] * 48abc9e 2022-04-14 | Add support to enable switchover time measurement (with link prober interval decreased to 10ms) feature (sonic-net#61) [Jing Zhang] * c4858a6 2022-04-14 | Avoid proactively switching to `active` if default route is missing (sonic-net#62) [Jing Zhang] * 41f5fb9 2022-04-11 | Upgrade linkmgrd to `BULLSEYE` (sonic-net#60) [Jing Zhang] Signed-off-by: Ying Xie <[email protected]>
Include following changes; * 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (#78) (github/master, github/202205, master, 202205) [Jing Zhang] * 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (#80) [Longxiang Lyu] * 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (#81) [Longxiang Lyu] * d744bfb 2022-05-25 | Support switch between using wellknown mac or server mac addr (#73) [Longxiang Lyu] * 684e989 2022-05-18 | Avoid switching active when `LinkState == Down` (#77) [Jing Zhang] * e4aa4fd 2022-05-17 | [Makefile] Remove redundant optimization options (#75) [Longxiang Lyu] * 4ec7505 2022-05-12 | [ci]: uplift diff coverage threshold to 80% (#71) [Jing Zhang] * df51322 2022-05-06 | Add `ActiveActiveStateMachine` implementation (#64) [Longxiang Lyu] * e721ceb 2022-05-04 | Add doc for default route related changes (#63) [Jing Zhang] * 7bb06fb 2022-05-03 | Add Cli support to enable or disable default route related feature (#68) [Jing Zhang] * e4b02cb 2022-05-02 | Reset WaitActiveUp count before switching to active (#70) [Jing Zhang] * 212d960 2022-04-27 | lower log level to warning (#69) [Jing Zhang] * 48abc9e 2022-04-14 | Add support to enable switchover time measurement (with link prober interval decreased to 10ms) feature (#61) [Jing Zhang] * c4858a6 2022-04-14 | Avoid proactively switching to `active` if default route is missing (#62) [Jing Zhang] * 41f5fb9 2022-04-11 | Upgrade linkmgrd to `BULLSEYE` (#60) [Jing Zhang] Signed-off-by: Ying Xie <[email protected]>
linkmgrd: * 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (sonic-net#78) (github/202205, master, 202205) [Jing Zhang] * 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (sonic-net#80) [Longxiang Lyu] * 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (sonic-net#81) [Longxiang Lyu] platform-daemons: * 0d90023 2022-05-31 | grpc client implementation for active-active dualtor (sonic-net#248) (github/master, github/202205, master, 202205) [vdahiya12] * 6b8bf69 2022-05-27 | [ycabled] Fix some syntax warnings in ycabled (sonic-net#263) [vdahiya12] * 2bcf936 2022-05-24 | [ycabled] fix the posting for mux_cable_static_info per downlink when ycabled is spawned; synchronizing executing Telemetry API (sonic-net#257) [vdahiya12] * ce217c0 2022-04-25 | Include changes from xcvr_api in transceiver_info table (sonic-net#253) [qinchuanares] * e0f8a35 2022-04-22 | Fix checkReplyType failed issue via recreating xcvr_table_helper on forking subprocess (sonic-net#255) [Stephen Sun] platform-common: * f575a40 2022-05-24 | [Credo][Ycable] changes for synchronizing executing Telemetry API's when mux toggle is inprogress (sonic-net#280) (github/202205, master, 202205) [vdahiya12] * b043372 2022-05-11 | [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing health percent (sonic-net#279) [bill-nokia] * d62d3d6 2022-05-04 | [CMIS]Fix low-power to high power mode transition (sonic-net#268) [Prince George] * f918125 2022-05-02 | [syseeprom] Enable display of vendor extension TLV content (sonic-net#270) [dflynn-Nokia] * 4e08440 2022-04-14 | [Credo][Ycable] improve logging for Server Powered off/Faulty cables (sonic-net#272) [vdahiya12] Signed-off-by: Ying Xie <[email protected]>
linkmgrd: * 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (#78) (github/202205, master, 202205) [Jing Zhang] * 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (#80) [Longxiang Lyu] * 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (#81) [Longxiang Lyu] platform-daemons: * 0d90023 2022-05-31 | grpc client implementation for active-active dualtor (#248) (github/master, github/202205, master, 202205) [vdahiya12] * 6b8bf69 2022-05-27 | [ycabled] Fix some syntax warnings in ycabled (#263) [vdahiya12] * 2bcf936 2022-05-24 | [ycabled] fix the posting for mux_cable_static_info per downlink when ycabled is spawned; synchronizing executing Telemetry API (#257) [vdahiya12] * ce217c0 2022-04-25 | Include changes from xcvr_api in transceiver_info table (#253) [qinchuanares] * e0f8a35 2022-04-22 | Fix checkReplyType failed issue via recreating xcvr_table_helper on forking subprocess (#255) [Stephen Sun] platform-common: * f575a40 2022-05-24 | [Credo][Ycable] changes for synchronizing executing Telemetry API's when mux toggle is inprogress (#280) (github/202205, master, 202205) [vdahiya12] * b043372 2022-05-11 | [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing health percent (#279) [bill-nokia] * d62d3d6 2022-05-04 | [CMIS]Fix low-power to high power mode transition (#268) [Prince George] * f918125 2022-05-02 | [syseeprom] Enable display of vendor extension TLV content (#270) [dflynn-Nokia] * 4e08440 2022-04-14 | [Credo][Ycable] improve logging for Server Powered off/Faulty cables (#272) [vdahiya12] Signed-off-by: Ying Xie <[email protected]>
[sonic-linkmgrd][master] Submodule Update 9c8a16e Jing Zhang Sun Jun 5 08:27:07 2022 -0700 Separate I2C mux state probing and gRPC forwarding state probing (#86) 491c4ee Longxiang Lyu Sun Jun 5 23:26:19 2022 +0800 Fix peer mux wait back off factor (#84) a0b6b14 Jing Zhang Wed Jun 1 10:33:12 2022 -0700 Revert "Update log level for mux probing and mux state chance (#23)" (#85) 3c2b546 Jing Zhang Tue May 31 10:14:42 2022 -0700 Add default route support to active-active state machine (#78) 6fa892e Longxiang Lyu Fri May 27 09:15:06 2022 +0800 Degrade LinkProberStateMachineBase virtual function logging level (#80) 7b695ca Longxiang Lyu Fri May 27 09:14:02 2022 +0800 Fix mux wait timer and peer mux wait timer (#81)
set CONFIG_SERIAL_8250_LPSS=m
* Transformer infra initialization, application(common_app) enhancements for following: *Transformer infra memory and startup time optimizations *Support for gNMI style PUT/REPLACE on leaf-list. *Sort DB keys for tables having mutli-element key with optional elements(sonic-yang container representing the table has multiple lists) before DB operation. *Modifications to improve debuggability/logging. * Transformer infra SET(CREATE/REPLACE/UPDATE) and GET code flow modifications to incorporate following: *Support gNMI style PUT/REPLACE on leaf-list in SET flow *Conditionally invoke subtree only once to improve SET request performance *Support for key-transformer on sonic-yang GET request. *Improve debuggability/logging. * Transformer infra utility enhacements for CRUD and SET *Add utility functions in transformer infra for CRUD AND GET cases to retrieve yang node info *Key-transformer support on Sonic-Yang list for GET flow *Call back error message packaging *Changes to Improve debuggability and logging * Transformer infra enhacements for DELETE flow *Json based table sorting for non CVL table ordering *Changes to Improve debuggability and logging. * REPLACE case bug-fix to use copy of original instance fields in common_app to handle leaf-list target PUT/REPLACE to swap contents of leaf-list. * Add copyright info * Use the new ocbinds.GetSchema() API from master * Addressed review comments --------- Co-authored-by: ranjinidn <[email protected]> Co-authored-by: ranjinidn <[email protected]> Co-authored-by: ranjinidn <[email protected]>
…atically (#15544) src/sonic-telemetry * 0b8843c - (HEAD -> 202205, origin/202205) Merge pull request #120 from zbud-msft/202205_divide_by_zero (3 hours ago) [Ying Xie] | * 015defa - Merge branch '202205' into 202205_divide_by_zero (5 hours ago) [Zain Budhwani] * | de2124b - Change log level (5 hours ago) [zbud-msft] * | f203be5 - Add logs for md5 checksum (#80) (5 hours ago) [Zain Budhwani] | * ea6c84b - Merge branch '202205' into 202205_divide_by_zero (31 hours ago) [Zain Budhwani] * | ab98380 - Fix sonic-mgmt-common version to ec32690 in pipeline (#123) (34 hours ago) [Sachin Holla] * 5fcecef - Merge branch '202205' into 202205_divide_by_zero (4 days ago) [Ying Xie] * 09c8bfc - Merge branch '202205' into 202205_divide_by_zero (11 days ago) [Zain Budhwani] * 21b9bc8 - Fix crash when retrieving cpu utilization (#70) (#71) (11 days ago) [Zain Budhwani]
…e latest HEAD automatically (#18168) #### Why I did it src/wpasupplicant/sonic-wpa-supplicant ``` * d41110905 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #80 from wumiaont/master (4 days ago) [Kamil Cudnik] * 7406f4ba4 - Fix compile issues with debian bookworm (10 days ago) [wumiaont] * caed4ef71 - Fix compile issues with bookworm and openssl 3.0 (10 days ago) [wumiaont] ``` #### How I did it #### How to verify it #### Description for the changelog
…e latest HEAD automatically (sonic-net#18168) #### Why I did it src/wpasupplicant/sonic-wpa-supplicant ``` * d41110905 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request sonic-net#80 from wumiaont/master (4 days ago) [Kamil Cudnik] * 7406f4ba4 - Fix compile issues with debian bookworm (10 days ago) [wumiaont] * caed4ef71 - Fix compile issues with bookworm and openssl 3.0 (10 days ago) [wumiaont] ``` #### How I did it #### How to verify it #### Description for the changelog
…e latest HEAD automatically (sonic-net#18168) #### Why I did it src/wpasupplicant/sonic-wpa-supplicant ``` * d41110905 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request sonic-net#80 from wumiaont/master (4 days ago) [Kamil Cudnik] * 7406f4ba4 - Fix compile issues with debian bookworm (10 days ago) [wumiaont] * caed4ef71 - Fix compile issues with bookworm and openssl 3.0 (10 days ago) [wumiaont] ``` #### How I did it #### How to verify it #### Description for the changelog
…utomatically (#18900) #### Why I did it src/sonic-host-services ``` * aa84129 - (HEAD -> master, origin/master, origin/HEAD) Updated tacacs test (#123) (17 hours ago) [ycoheNvidia] * 9e6404c - Add LDAP feature support (#80) (6 days ago) [davidpil2002] ``` #### How I did it #### How to verify it #### Description for the changelog
…c-utilities [submodule][202205] Update submodule sonic-utilities to the latest HEAD automatically
Fix dependencies
Add configuration options
Automatically build sonic-slave