Skip to content
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 one image for mellanox & simx #3

Closed
wants to merge 1 commit into from
Closed

build one image for mellanox & simx #3

wants to merge 1 commit into from

Conversation

mykolaf
Copy link
Owner

@mykolaf mykolaf commented Apr 4, 2019

Signed-off-by: Mykola Faryma mykolaf@mellanox.com

- What I did
Add hooks so that ordinary mellanox image can run on simx
- How I did it
Mostly checking in runtime if dmi data suggests that we run on quemu, and skipping/substituting the logic in that case.
- How to verify it
Verified with regression on SPC1 SimX and MSN2100.
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
@@ -229,8 +229,16 @@ function UpgradeFWFromImage() {
fi
}

function CheckForQEMU() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExitIfQEMU() ?

+
case $ACTION in
start)
do_start
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\t
\t\t

@mykolaf mykolaf closed this Apr 4, 2019
mykolaf pushed a commit that referenced this pull request May 22, 2019
…c-net#2832)

* Base DHCP relay Docker image on Strech base Docker

* Change URL for isc-dhcp source repository

* Upgrade isc-dhcp source branch to 4.3.5-3.1

* Update patch #1 to apply to isc-dhcp 4.3.5-3.1

* Update patch #2 to apply to isc-dhcp 4.3.5-3.1

* Update patch #3 to apply to isc-dhcp 4.3.5-3.1

* Update patch #4 to apply to isc-dhcp 4.3.5-3.1

* Remove security patches, as they are now applied as part of 4.3.5-3.1 source

* Reorder patches to apply bug fix first, then features

* Extend makefile to build debug Docker image

* Update commit that series file applies against
@mykolaf mykolaf deleted the simx3 branch February 18, 2020 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants