Skip to content

ios-xr/lnt-iso-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cisco IOS XR LNT RPM extraction tool

A tool to extract the RPMs from LNT ISOs so that, for example, the original RPMs that came in an ISO can be re-installed if required for a downgrade scenario.

Requirements

This tool can be run on at least the distributions listed below. It may work on others too, but these have been tested.

Debian 9

Run the following (possibly with sudo) to install the required packages:

apt-get update
apt-get install -y python3 genisoimage cpio

CentOS 7

Run the following (possibly with sudo) to install the required packages:

yum -y install python3 genisoimage cpio

Running

The tool can be run as follows:

./xr-image-extract-rpms --output-dir <output-dir> <iso-path>

It will put all the RPMs found in the specified ISO into the specified directory.

Notes

The RPMs may go into subdirectories of that directory; do not rely on the exact directory layout as it may change in the future. If necessary run

find <output-dir> -name "*.rpm" -type f

to find all of the extracted RPM files.


Copyright (c) 2020-21 by Cisco Systems, Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Tools for handling installation ISOs for IOS XR (for LNT-based platforms)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published