Este conteúdo não está disponível no idioma selecionado.
Chapter 5. Listing RPM update package contents
You can preview the contents of a MicroShift RPM package update before installing. This helps you make sure that the update you are planning is a supported configuration of Red Hat Device Edge.
5.1. Listing the contents of the MicroShift RPM release package
				To see the images included with a MicroShift release, you can list the contents of the microshift-release-info RPM by downloading and unpacking the RPM.
			
Prerequisites
- You are using Red Hat Enterprise Linux (RHEL) or an operating system with an RPM package manager.
- Your MicroShift repositories are enabled.
Procedure
- Optional: List which versions of the MicroShift RPM are available for download by running the following command: - sudo dnf repoquery microshift-release-info-0:4.17.1 - $ sudo dnf repoquery microshift-release-info-0:4.17.1- 1 - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - 1
- Replace the example value4.17.1with the major and minor release numbers you are interested in.
 - Example output - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- Download the RPM package you want by running the following command: - sudo dnf download microshift-release-info-<release_version> - $ sudo dnf download microshift-release-info-<release_version>- 1 - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - 1
- Replace<release_version>with the numerical value of the release you are deploying, using the entire version number, for example,4.17.1.
 - Example output - microshift-release-info-4.17.1.-202411101230.p0.g7dc6a00.assembly.4.17.1.el9.noarch.rpm - microshift-release-info-4.17.1.-202411101230.p0.g7dc6a00.assembly.4.17.1.el9.noarch.rpm- 1 - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - 1
- Your output should contain the date and commit ID.
 
- Unpack the RPM package without installing it by running the following command: - rpm2cpio <microshift_release_info> | cpio -idmv - $ rpm2cpio <microshift_release_info> | cpio -idmv- 1 - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - 1
- Replace<microshift_release_info>with the name of the RPM package from the previous step. For example,microshift-release-info-4.17.10-202408291007.p0.g6e4ee4d.assembly.4.17.10.el9.noarch.rpm.
 - Example output - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- List the contents by running the following command: - cat ./usr/share/microshift/release/release-x86_64.json - $ cat ./usr/share/microshift/release/release-x86_64.json- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Example output - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow