The customized ISO is built using Cisco Golden ISO (GISO) build script gisobuild.py
available on the Github location.
The GISO build
script supports automatic dependency management, and provides these
functionalities:
-
Builds RPM
database of all the packages present in package repository.
-
Skips and
removes Cisco RPMs that do not match the mini-x.iso version.
-
Skips and
removes third-party RPMs that are not SMUs of already existing third-party base
package in mini-x.iso.
-
Displays an
error and exits build process if there are multiple base RPMs of same release
but different versions.
-
Performs compatibility check and dependency check for all the RPMs. For example, the child RPM
ncs5000-mpls-te-rsvp
is dependent on the parent RPM
ncs5000-mpls
. If only the child RPM is included, the Golden ISO build fails.
To build GISO,
provide the following input parameters to the script:
-
Base
mini-x.iso (mandatory)
-
XR
configuration file (optional)
-
one or more Cisco-specific SMUs for host, XR and System admin (mandatory)
-
one or more third-party SMUs for host, XR and System admin (mandatory)
-
Label for golden ISO (optional)
-
Optional RPMs
Note |
Golden ISO can
be built only from mini ISO. The full or fullk9 bundle ISO is not supported.
|
Use the following
naming convention when building GISO:
GISO
Build
|
Format
|
Example
|
GISO
without k9sec RPM
|
<platform-name>-golden-x.iso-<version>.<label>
<platform-name>-golden-x-<version>.iso.<label>
|
<platform-name>-golden-x64.iso-<version>.v1
<platform-name>-golden-x64-<version>.iso.v1
|
GISO
with k9sec RPM
|
<platform-name>-goldenk9-x.iso-<version>.<label>
<platform-name>-goldenk9-x-<version>.iso.<label>
|
<platform-name>-goldenk9-x64.iso-<version>.v1
<platform-name>-goldenk9-x64-<version>.iso.v1
|
Note |
To
successfully add k9sec RPM to GISO, change the permission of the file to
644 using the
chmod
command.
chmod 644 [k9 sec rpm]
|
To build GISO,
perform the following steps:
Install the golden
ISO on the router.