|
Closes #161
On x86 the /mnt/onie-boot/onie/tools directory houses scripts (and
script fragments) usable by an installed NOS to interact with ONIE.
This patch adds the following:
- moves the onie-tool tarball creation logic from the images.make
Makefile fragment into a helper script, called by images.make.
- adds a new tool, onie-version, for displaying ONIE version
information from the NOS.
To use the ONIE tools a NOS is expected to:
- mount the ONIE-BOOT partition somewhere, e.g.
tmpdir=$(mktemp -d)
mount LABEL=ONIE-BOOT $tmpdir
- run the scripts in (ONIE-BOOT)/onie/tools/bin
Testing:
Exercised the new tool using the kvm_x86_64 machine and the demo NOS.
Signed-off-by: Curt Brune <[email protected]>
|