Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 5. Listing RPM update package contents
You can preview the contents of a MicroShift RPM package update before installing.
5.1. Listing the contents of the MicroShift RPM release package Link kopierenLink in die Zwischenablage kopiert!
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.16.*
$ sudo dnf repoquery microshift-release-info-0:4.16.*
1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- Replace the example value
4.16.*
with 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.16.0
.
Example output
microshift-release-info-4.16.0.-202311101230.p0.g7dc6a00.assembly.4.16.0.el9.noarch.rpm
microshift-release-info-4.16.0.-202311101230.p0.g7dc6a00.assembly.4.16.0.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.16.10-202408291007.p0.g6e4ee4d.assembly.4.16.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