You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release_documents/SONiC_Package.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,12 @@
3
3
<br>
4
4
<br>
5
5
<br>
6
-
# Broadcom SONiC
6
+
7
+
# Enterprise SONiC
8
+
7
9
### Package Customization Guide
8
-
#### Version 1.0
10
+
11
+
#### Version 1.1
9
12
<br>
10
13
<br>
11
14
<br>
@@ -22,12 +25,12 @@ A SONiC installer image (e.g sonic-broadcom-cloud-base.bin) is a self extracting
22
25
23
26
However, some customers who receive just the binary image from Broadcom would want some flexibility to influence some changes to the SONiC installer file.
24
27
25
-
This is made possible by creating a SONiC package which is also a self extracting binary image. The SONiC package file can be used to install SONIC image using ONIE and the sonic\_installer command just like the SONiC installer file. SONiC package file is typically named with *.pkg* file extension (e.g sonic-cloud-base.pkg)*.*
28
+
This is made possible by creating a SONiC package which is also a self extracting binary image. The SONiC package file can be used to install SONIC image using ONIE and the sonic\_installer command just like the SONiC installer file. SONiC package file is typically named with *.pkg* file extension (e.g sonic-broadcom-cloud-base.pkg)*.*
26
29
27
30
A new tool *build\_pkg.sh* is available to create a SONiC package file. The *build\_pkg.sh* is available in the source code as
28
31
*sonic-buildimage/build\_pkg.sh.*
29
32
30
-
Below is an example to create a SONiC package file to include a user provided *sonic\_branding.yml* which contains user defined Product Name.
33
+
Below is an example to create a SONiC package file to include a user provided *sonic\_branding.yml* which contains user defined Product Name and software version.
Creating a package file to combine target/sonic-broadcom-cloud-base.bin and sonic_branding.yml
46
50
Successfully created package file: sonic-broadcom-cloud-base.pkg
47
51
```
48
52
When user installs the sonic-broadcom-cloud-base.pkg, the sonic\_branding.yml in /etc/sonic directory of the image is replaced with the one provided by user and thus *show version* shows the product
0 commit comments