-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update README.md #2
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,19 @@ | ||
# Build Switch Images - buildimage | ||
## Build Switch Images - buildimage | ||
|
||
# Description | ||
Build an [Open Network Install Environment (ONIE)](https://github.com/opencomputeproject/onie) compatiable network operating system (NOS) installer image for network switches, and also build docker images running inside the NOS. | ||
Build an [Open Network Install Environment (ONIE)](https://github.com/opencomputeproject/onie) compatible network operating system (NOS) installer image for network switches, and also build docker images running inside the NOS. | ||
|
||
# Prerequisite | ||
## 1. Build environment | ||
Preferably use [the Dockerfile](https://github.com/Azure/sonic-build-tools/blob/master/sonic-slave/Dockerfile), or use Debian Jessie and manually install packages appearing in the Dockerfile. | ||
## 2. Linux kernel with switch drivers | ||
Build the [Azure/sonic-linux-kernel](https://github.com/Azure/sonic-linux-kernel) project and copy the output .deb file into ./deps directory. | ||
|
||
## 3. initramfs-tools with loop device support | ||
Run the script to build the .deb file into ./deps directory. | ||
## Prerequisites | ||
**1.** Build environment - Preferably use [the Dockerfile](https://github.com/Azure/sonic-build-tools/blob/master/sonic-slave/Dockerfile), or use Debian Jessie and manually install packages appearing in the Dockerfile. | ||
**2.** Linux kernel with switch drivers - Build the [Azure/sonic-linux-kernel](https://github.com/Azure/sonic-linux-kernel) project and copy the output .deb file into ./deps directory. | ||
* initramfs-tools with loop device support - Run the script to build the .deb file into ./deps directory. | ||
|
||
./get_deps.sh | ||
|
||
## 4. Fetch the git submodule | ||
If there is no files under ./docker-base, manually fetch them. | ||
**3.** Fetch the git submodule - If there is no files under ./docker-base, manually fetch them. | ||
|
||
git submodule update --init --recursive | ||
|
||
# Usage | ||
## Build NOS installer image | ||
## Build NOS Installer Image | ||
|
||
./build_debian USERNAME PASSWORD_ENCRYPTED && ./build_image.sh | ||
|
||
|
@@ -31,7 +24,7 @@ For example, the user name is 'admin' and the password is 'YourPaSsWoRd'. | |
The root is disabled, but the created user could sudo. | ||
|
||
|
||
## Build docker images | ||
## Build Docker Images | ||
|
||
./build_docker.sh docker-sswsyncd | ||
./build_docker.sh docker-database | ||
|
@@ -40,7 +33,7 @@ The root is disabled, but the created user could sudo. | |
./build_docker.sh docker-lldp | ||
./build_docker.sh docker-basic_router | ||
|
||
# Contribution guide | ||
## Contribution Guide | ||
|
||
All contributors must sign a contribution license agreement before contributions can be accepted. Contact [email protected]. Later this will be automated. | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this 1. does not format well in github.com, can you check.
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.
Dell - Internal Use - Confidential
Added a space after 1.
From: lguohan [mailto:[email protected]]
Sent: Tuesday, August 02, 2016 4:09 PM
To: Azure/sonic-buildimage [email protected]
Cc: Buck, Amy [email protected]; Author [email protected]
Subject: Re: [Azure/sonic-buildimage] Update README.md (#2)
In README.mdhttps://github.com//pull/2#discussion_r73254981:
this 1. does not format well in github.com, can you check.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//pull/2/files/3bc2f7b051a939154b4b94bb651780d30325acd4#r73254981, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AToLHI161lIspRY3Yx6wmTD9igYJObMCks5qb84ggaJpZM4Ja18Y.