Commit Graph

101 Commits

Author SHA1 Message Date
Lawrence Lee
865605ef76
[README] Update link for moving docker directory (#14668)
The previous link to instructions for moving the docker directory are outdated.

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
2023-05-01 14:24:32 -07:00
Liu Shilong
3e0df173ff
Remove deprecated LGTM badge in README.md. (#13895)
Why I did it
LGTM is deprecated. LGTM's badge doesn't work now.
Github code scanning shows alerts in Security tab. It doesn't have a badge.

How I did it
Remove LGTM badge.

How to verify it
2023-02-23 14:21:30 +08:00
Guillaume Lambert
7b9524a79f [doc]: Fix README.md linting issues
MarkDown linter "mdl" reports many warnings on README.md.
Let them get fixed to ease its maintenance and readability.

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
2022-12-15 08:59:26 -08:00
Guillaume Lambert
19f7ba0756 [doc]: Improve README.md
- Running "sudo pip install" can be OK in a CI but generates a clear
  warning. It is strongly disadvised to run it in a user or a production
  environment because it can  break the host packages system.
  "pip install --user" or venv are usually prefered in most situations.
- Nested virtualization support is not always enough to build OVS image
  inside a VM. The full KVM interface must be exposed, what may require
  extra configuration such as the KVM paravirtualization in VirtualBox.
- On the recommended version of Ubuntu (20.0.4), installing docker CE
  with the given process does not remove docker from snap
  when a previous installation of the distribution package docker.io
  was already present in the system.
  Using docker through snap currently triggers a bug during the SONiC
  build process.
https://stackoverflow.com/questions/52526219/docker-mkdir-read-only-file-system

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
2022-12-15 08:59:26 -08:00
Andrew Imeson
a6a9427215
[docs] Correct clone instructions & typos (#12733)
[docs] Correct clone instructions & typos
Remove the git 1.9 reference, as it has been out since Feb 2014 at this
point.
2022-11-18 15:00:16 +08:00
Myron Sosyak
b45aaeffdc
Add Barefoot to the list of supported platforms (#12269) 2022-11-09 16:44:30 -08:00
Muhammad Danish
3b9bbf7d28
[doc]: Update README.md (#11960)
* Remove faulty pipeline URLs
* Miscellaneous minor fixes
2022-09-07 12:25:44 +08:00
Muhammad Danish
3ea5e83332
[doc] Update README.md (#11647)
#### Why I did it

- Building `sonic-$PLATFORM.img.gz` fails if KVM support is not enabled.
- Repos have been transferred over from Azure to sonic-net domain
- sonic-net repos no longer use Microsoft CLA, so updated the README to point towards Linux foundation CLA
- p4 platform is no longer supported. Reference: https://github.com/sonic-net/sonic-buildimage/issues/2591#issuecomment-649425081
2022-08-18 15:19:54 -07:00
gregshpit
5df09490dc
Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035)
* Ported Marvell armhf build on x86 for debian buster to use cross-compilation instead of qemu emulation

Current armhf Sonic build on amd64 host uses qemu emulation. Due to the
nature of the emulation it takes a very long time, about 22-24 hours to
complete the build. The change I did to reduce the building time by
porting Sonic armhf build on amd64 host for Marvell platform for debian
buster to use cross-compilation on arm64 host for armhf target. The
overall Sonic armhf building time using cross-compilation reduced to
about 6 hours.

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>

* Fixed final Sonic image build with dockers inside

* Update Dockerfile.j2

Fixed qemu-user-static:x86_64-aarch64-5.0.0-2 .

* Update cross-build-arm-python-reqirements.sh

Added support for both armhf and arm64 cross-build platform using $PY_PLAT environment variable.

* Update Makefile

Added TARGET=<cross-target> for armhf/arm64 cross-compilation.

* Reviewer's @qiluo-msft requests done

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>

* Added new radius/pam patch for arm64 support

* Update slave.mk

Added missing back tick.

* Added libgtest-dev: libgmock-dev: to the buster Dockerfile.j2. Fixed arm perl version to be generic

* Added missing armhf/arm64 entries in /etc/apt/sources.list

* fix libc-bin core dump issue from xumia:fix-libc-bin-install-issue commit

* Removed unnecessary 'apt-get update' from sonic-slave-buster/Dockerfile.j2

* Fixed saiarcot895 reviewer's requests

* Fixed README and replaced 'sed/awk' with patches

* Fixed ntp build to use openssl

* Unuse sonic-slave-buster/cross-build-arm-python-reqirements.sh script (put all prebuilt python packages cross-compilation/install inside Dockerfile.j2). Fixed src/snmpd/Makefile to use -j1 in all cases

* Clean armhf cross-compilation build fixes

* Ported cross-compilation armhf build to bullseye

* Additional change for bullseye

* Set CROSS_BUILD_ENVIRON default value n

* Removed python2 references

* Fixes after merge with the upstream

* Deleted unused sonic-slave-buster/cross-build-arm-python-reqirements.sh file

* Fixed 2 @saiarcot895 requests

* Fixed @saiarcot895 reviewer's requests

* Removed use of prebuilt python wheels

* Incorporated saiarcot895 CC/CXX and other simplification/generalization changes

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>

* Fixed saiarcot895 reviewer's  additional requests

* src/libyang/patch/debian-packaging-files.patch

* Removed --no-deps option when installing wheels. Removed unnecessary lazy_object_proxy arm python3 package instalation

Co-authored-by: marvell <marvell@cpss-build3.marvell.com>
Co-authored-by: marvell <marvell@cpss-build2.marvell.com>
2022-07-21 14:15:16 -07:00
xumia
8fb534effb
Add the branch 202205 and branch 202111 in the README.md (#11311)
Why I did it
Add the branch 202205 and branch 202111 in the README.md
2022-07-04 12:37:21 +08:00
Christian Svensson
2f332c8425
[doc]: Update build instructions (#8470)
The current instructions cannot be used on e.g. Ubuntu 20.04.

This commit reformats the steps to be more natural to read when
first getting started building SONiC.

* Add SONIC_BUILD_JOBS=$(nproc) to usage guide
* Explain disk usage w.r.t. SONIC_BUILD_JOBS
* Set BUILD JOBS to 4

More than 4 can cause race issues right now, and setting to nproc
might be too much as every job spawns multiple threads.

Signed-off-by: Christian Svensson <blue@cmd.nu>
2021-08-25 04:35:31 -07:00
Shilong Liu
70c619c9b6
Update README page build status badge for azp (#8069) 2021-07-08 23:29:35 -07:00
VenkatCisco
534a5b8093
[build]: support no_proxy environment variable in Azure SONiC build files (#7333)
Lack of having the support for no_proxy in SONiC build environment limits enterprise companies to put some internal hacks to ensure the proxy's dont refer to some Intranet site for artifactory downloads etc. Today. Using no_proxy is familiar in proxy settings terminology and excludes traffic destined to certain hosts.

Most Web clients hence support connection to proxy servers via environment variables:

http_proxy / HTTP_PROXY
https_proxy / HTTPS_PROXY
no_proxy / NO_PROXY
These variables tell the client what URL should be used to access the proxy servers and which exceptions should be made.

How to verify it

Simply set up the variable in the bash shell at build time.

export no_proxy=internal.example.com, internal2.example.com

Usage is:
no_proxy is a comma- or space-separated list of machine or domain names, with optional :port part. If no :port
part is present, it applies to all ports on that domain.
2021-04-15 23:10:19 -07:00
Qi Luo
15487f4b5e
[doc]: Fix typos in documents (#7296) 2021-04-14 18:27:24 -07:00
Qi Luo
5aba5cc68b
[doc]: fix some typos (#6838) 2021-02-22 09:23:37 -08:00
Danny Allen
0ad2098402
[README] Update build badges to include 202012 build status (#6373)
Signed-off-by: Danny Allen <daall@microsoft.com>
2021-01-07 10:02:39 -08:00
Guohan Lu
283ed8b18e [doc]: add centec(arm64) and marvel(armhf) build badge
Signed-off-by: Guohan Lu <lguohan@gmail.com>
2020-12-26 23:13:26 -08:00
Ravindranath C K
239346d90f
[doc]: Update Readme with Innovium support (#6030)
* Add make target for Innovium platform
* Add the syncd docker image gzip tar archive name

Signed-off-by: rck@innovium.com
2020-12-01 09:10:15 -08:00
Qi Luo
e36c1fdb4d
Revert "[build]: Add build badge for Barefoot 202006 build (#4923)" (#5996)
This reverts commit f2e8187400.
2020-11-23 15:09:43 -08:00
Volodymyr Boiko
f2e8187400
[build]: Add build badge for Barefoot 202006 build (#4923)
Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
2020-09-25 20:40:21 -07:00
lguohan
0dbced4a08
[doc]: add Centec master branch build badge
make platform as alphabetic order
2020-08-07 00:41:26 -07:00
Qi Luo
47ca5e2fa0
Update README.md (#5078)
Remove obsoleted build job's badge
2020-07-31 16:27:45 -07:00
Qi Luo
6d0f8dcb87
[doc]: Update README.md: move LGTM badges above Jenkins badges (#4658) 2020-05-27 18:12:42 -07:00
Qi Luo
c5c0042a26
Update README.md: improve the style of build badges and add LGTM badges (#4395)
* Update README.md: improve build badge style
* Update README.md: add LGTM badges
2020-04-07 22:45:20 -07:00
simonJi2018
11da67bce1
[doc]: Add 201911/201811 status support for Nephos (#4382)
Add branch 201911/201811 status support for Nephos platform
2020-04-07 20:59:14 -07:00
Andriy Kokhan
3e9a64cfcc
[build]: Add build badge for Barefoot 201911 build (#4289)
Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
2020-03-19 12:36:51 -07:00
Tony Titus
e069e44d05
Add Innovium 201911 build support (#4113) 2020-02-11 06:09:29 -08:00
rlhui
c39b1883c5
Update build badge in the README.md (#4084)
Update build badge in the README.md
2020-01-30 08:36:49 -08:00
kannankvs
979b0dd4a2 [doc]: Added one extra sentence to give example for check out 201911 branch (#3867) 2019-12-10 23:48:18 -08:00
Sujin Kang
157317d710 [doc]: Remove all non-existing build jobs from README.md (#3844) 2019-12-04 20:27:39 -08:00
Tony Titus
3853b31f3c [innovium]: Add Innovium Jenkins build (#3820) 2019-12-03 13:55:25 -08:00
Michel Moriniaux
8d162ae70a [doc]: Added branch 201904 to the build status icons (#3642)
Somehow this was missed in april, I added the icons for 201904 so that
the branch is not forgotten

Signed-off-by: Michel Moriniaux <m.moriniaux@criteo.com>
2019-10-23 09:36:10 -07:00
Wei Bai
9d7199ac93 [dox]: Add SONiC management docker image (#3636) 2019-10-19 11:00:37 -07:00
arheneus@marvell.com
23a3faf3f9 [build]: Sonic installer script for armhf (#3303)
Signed-off-by: Antony Rheneus <arheneus@marvell.com>
2019-09-11 10:12:10 -07:00
ruijie.com.cn
9e44070ffa [doc]: use docker without sudo (#3336)
Users can install docker with sudo, and it requires sudo to issue docker command. This will cause few errors in Makefile.work which need use docker without sudo.
2019-08-26 10:35:41 -07:00
arheneus@marvell.com
50fe458592 [build]: SONiC buildimage ARM arch support (#2980)
ARM Architecture support in SONIC

make configure platform=[ASIC_VENDOR_ARCH] PLATFORM_ARCH=[ARM_ARCH]
SONIC_ARCH: default amd64
armhf - arm32bit
arm64 - arm64bit

Signed-off-by: Antony Rheneus <arheneus@marvell.com>
2019-07-25 22:06:41 -07:00
Renuka Manavalan
33a1b26a11 [build]: Added debug dockers & image info (#3121)
Added details on how to build debug docker images and how they can be exploited for debugging.
2019-07-13 12:44:46 -07:00
lguohan
30b37ec6fb
[build]: make sonic-slave-stretch as the default build docker (#2921)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-05-27 15:50:51 -07:00
randygaulmsft
3add5d46e4 Add note for running out of disk space in /var/lib/docker to README.md (#2758) 2019-04-10 00:02:57 -07:00
Darío Hereñú
c120ee9225 Fixed typo on paragraph #40 (#2537)
* plus minor formatting proposals
2019-02-07 09:25:41 -08:00
Guohan Lu
4750a87a28 [build]: add build badge for 201811 branch 2018-12-05 18:29:55 +00:00
Guohan Lu
b1d290c746 update build to 201803 and 201807
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-06 18:41:37 +00:00
Joe LeVeque
35d93f0c3b [build] Remove sudo calls from build process (#2015)
* [build] Remove sudo calls from build process

* Make regex more strict
2018-09-04 22:32:46 -07:00
Ying Xie
a8ccf589c9 [build]: Makefile: make new step "make stretch" optional (#1936)
* [makefile] Rename Makefile to Makefile.work

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [makefile] Add new make file to avoid extra step

* avoiding calling "make stretch"

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [makefile] allow skipping "make stretch"

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [makefile] add all PHONY targets to pass through list

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-08-16 15:54:31 -07:00
Guohan Lu
6246b161d5 [doc]: update build instruction for debian stretch
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-12 08:20:10 +00:00
Guohan Lu
88ea503e63 [doc]: update build instruction for debian stretch build
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 21:26:12 +00:00
Guohan Lu
0edb3802b0 [build]: add stretch target to build in stretch docker 2018-08-11 09:09:03 +00:00
Guohan Lu
9801ba9cc9 [devices]: enable platform modules for various platforms 2018-08-11 09:09:03 +00:00
Guohan Lu
2449fafae0 [kernel]: update kernel submodule and remove standalone igb driver 2018-08-11 09:07:59 +00:00
Guohan Lu
a0280dd500 update build instructions 2018-08-11 09:07:59 +00:00