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

Upgrade ifupdown2 to version 1.2.8 #3180

Merged
merged 2 commits into from
Jul 20, 2019

Conversation

rajendra-dendukuri
Copy link
Contributor

- What I did
Instead of using ifupdown2 package from Debian stretch repository, source compiled and installed lates
version of ifupdown2. The latest version is required to support ZTP over IPv6 transport in a stable and
quick manner.

- How I did it

Created a new rules/ifupdown2.mk file and compiled ifupdown2 as a SONIC_MAKE_DEBS.
Modified slave.mk to have the ifupdown2 as a dependency to create sonic installer image.
Modified "files/build_templates/sonic_debian_extension.j2" to install source compiled ifupdown2 deb file and its dependencies.

- How to verify it
Load an image with these changes and check ifupdown2 version using the command dpkg -l ifupdown2

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii ifupdown2 1.2.8-1 all Network Interface Management tool

Verified that "systemctl restart interfaces-config" also works.
Verified if eth0 IP is picked up via DHCP without any issues.

- Description for the changelog

Upgrade ifupdown2 to version 1.2.8

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

Required by ZTP to support ZTP over IPv6 transport

Signed-off-by: Rajendra Dendukuri <[email protected]>
@lguohan lguohan requested a review from pavel-shirshov July 18, 2019 13:24
Copy link
Contributor

@pavel-shirshov pavel-shirshov left a comment

Choose a reason for hiding this comment

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

As comments

Remove git statements as no patches are being applied.

Signed-off-by: Rajendra Dendukuri <[email protected]>
@pavel-shirshov
Copy link
Contributor

retest mellanox please

@pavel-shirshov
Copy link
Contributor

retest vsimage please

1 similar comment
@rajendra-dendukuri
Copy link
Contributor Author

retest vsimage please

@lguohan lguohan merged commit 40c8bc1 into sonic-net:master Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants